Go - commands and simple cheatsheets
Build an application with Go, using static linking
This might help e.g. if version of glibc on your local computer is different than on a server where you want to run it.
1go build -ldflags="-extldflags=-static"