Use -trimpath to use relative file path while building
Go has really awesome documentation 🗃️. I stumbled upon a build 🏗️ flag and now I know how useful it is.
Summary of channel behavior
Summary 📝 of state of a channel 🆚 operations in Go.
SHRINK your Go application 🚀️ build size by ~30% just by adding a flag to build command
Go provides a linker flag to eliminate debug information and DWARF tables while building executables.
Provide a set of flags to all go commands with GOFLAGS environment variable
You may have encountered a use case 🎯️ where you want to provide a set of flags to all Go applications. We end up providing all such flags to every go command ⬇️.