How To Initialize a Go Struct With a Lot of Pointers

I’ve been working on a project using Go Swagger. It can generate your models as golang structs for you. However, if you have a lot of nullable fields, you will end up with structs with a lot of pointer attributes. If want to conviniently initialize that struct with zero pointers of all the pointer fields,…

Performance Benchmarking Your Coding Ideas in Go

I recently switched to working with Go as one of the primary languages that I work with on a day to day basis. I’m still getting the hang of it, but so far I’m enjoying it. I love the set of standard tooling that comes with the language. One of the tools, which is usually…