Go

go install: no install location for directory

When go install fails with

"go install: no install location for directory"

... then set $GOBIN to $GOPATH/bin.


Building Linux binary on Windows

$env:GOOS="linux" go build


Building and stripping binary

go build -ldflags '-s'