CPU Profiling and Flame Graphs
Easily track down performance problems with flame graphs.
Easily track down performance problems with flame graphs.
Why it’s important to use defer for maintainability and in the presence of panics. I also look at some common pitfalls.
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