build
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.
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 ⬇️.
channels
Summary of channel behavior
Summary 📝 of state of a channel 🆚 operations in Go.
concurrency
Summary of channel behavior
Summary 📝 of state of a channel 🆚 operations in Go.
environment
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 ⬇️.