Iteration has long been one of the more fragmented areas of Go, with developers relying on ad hoc patterns to traverse custom data structures. This article explores the range-over-functions …
Subscribe to our Newsletter
By signing up you get access to our FREE Training Bundle, Technical Tuesday releases, Special Offers, & Notifications on our latest content.
All Blog Posts
Type at least 3 characters.
Search failed. Try again or message us directly at hello@ardanlabs.com.
Published
Jan 24, 2023
-
1 min read
Ultimate Go: Advanced Engineering Episode 19
Introduction In episode 18, Bill defined the Go type that will represent a transaction and implemented the methods to validate one. While developing the transaction type, …
Published
Jan 19, 2023
-
2 min read
Table driven tests in Go
Introduction Table tests are a great way to test different inputs and associated outputs for a function in Go. To write a table test, you define a slice of some data …
Published
Jan 19, 2023
-
1 min read
Ultimate Go: Advanced Engineering Episode 17
Introduction In episode 16, Bill implemented additional means of verification for his blockchain’s transactions. The first update he made was to verify if a transaction …
Published
Jan 17, 2023
-
2 min read
Ultimate Go: Advanced Engineering Episode 16
Introduction In episode 15, Bill architected a solution to ensure all the users on his blockchain were given a unique identifier. His approach consisted of essentially …
Published
Jan 17, 2023
-
1 min read
Writing an HTTP handler function in Go
Introduction When an API requires implementation details from the user, many developers use an interface for help. However, another way to allow developers to provide …
Published
Jan 12, 2023
-
1 min read
Ultimate Go: Advanced Engineering Episode 15
Introduction In episode 14, Bill architected a solution to digitally sign the transactions on his blockchain. His solution retrieved the private key by : loading private …
Published
Jan 12, 2023
-
1 min read
Writing testable examples in Go
Introduction Google developed Go to be an alternative to C++ with the internet and scale in mind. Go’s toolchain automates tasks that are easily overlooked, and amongst …
Published
Jan 11, 2023
-
2 min read
Ultimate Go: Advanced Engineering Episode 13
Introduction In episode 12, Bill laid out his strategy to handle data hashing on his blockchain. The first step he took was to create a package to handle the …
Published
Jan 11, 2023
-
2 min read
Ultimate Go: Advanced Engineering Episode 14
Introduction In episode 13, Bill discussed the idea of adding salt to a hash and how modern crypto-currency blockchains use it to better interpret requests sent to nodes. …

