Writing Tests in Go: Table-Driven Tests
A hands-on introduction to Go's standard testing package and the table-driven test pattern, embracing the language's minimal testing philosophy.
Tag
Building applications and tools in Go: concurrency, error handling and the standard library, covered in posts with practical examples. (Page 3/4)
There are 21 posts with this tag.
A hands-on introduction to Go's standard testing package and the table-driven test pattern, embracing the language's minimal testing philosophy.
A reflection on how moving between PHP, Go, Python, and TypeScript within a single year shaped the way I think about software.
Go 1.18's generic support shows how a language can be reshaped thoughtfully: why Go waited, the type parameter syntax, first impressions and trade-offs.
Personal notes on why mastering several programming languages is a matter of tool selection, not identity, and what context switching really costs.
A practical approach to error handling as a Go language idiom: the error value, wrapping, custom error types and a PHP developer's adjustment period.
I explore what you get — and what you don't — when building a small HTTP service with Go's net/http package, and where the framework threshold sits.