Reducing boilerplate with go generate
Go is an awesome language. It’s simple, powerful, has great tooling and many of us really enjoy using it every day. However, as it usually happens with strongly typed languages, we write a good deal of boilerplate to connect things around. In this post we’ll cover mostly three points: Why can we build tools with Go that will help reduce boilerplate using code generation. What are the building blocks for code generation in Go.