Top Tip β Put $GOPATH/bin in your $PATH, so installed binaries are easily accessible. (View Highlight)
But itβs considerably nicer to leverage so-called struct initialization syntax to construct the object all at once, in a single statement. (View Highlight)
Use struct literal initialization to avoid invalid intermediate state. Inline struct declarations where possible. (View Highlight)
Tip β Make the zero value useful, especially in config objects. (View Highlight)