How to build CGO_ENABLED="0" go build -ldflags="-s -w" -o app main.go How to run locally go run main.go How to run in a server ./app -listen 0.0.0.0:80 d