Build Tags
The other “directive” that I didn’t cover last week is //go:build. This time I look at how and why you would use build tags and the new syntax.
The other “directive” that I didn’t cover last week is //go:build. This time I look at how and why you would use build tags and the new syntax.
A look at all of Go’s pragmas (except build tags). How //go:debug directive enhances Go’s backward compatibility. Plus recent changes to the language that af...
It’s important to understand the behaviour of maps, slices, etc
Go 1.21 has just arrived! It has some nice things like PGO, and slices.Sort(), but beware of a pitfall
I hope to contribute something of use to the ever-growing Go community.