Golang Issue
Here I record some issue I encountered while using Golang.
Private repo dependency
# linux
export GO111MODULE=on && export GOPRIVATE=github.com/<your_account>/<your_repo>
# windows
$env:GO111MODULE="on"; $env:GOPRIVATE="github.com/<your_account>/<your_repo>"
Disable cgo when build for platform compatibility
CGO_ENABLED=0 go build -ldflags "-w -s" -o myapp .