« Back to Index

Go: Compile go program for Windows

View original Gist on GitHub

Tags: #go #compiler #windows

Compile go program for Windows.bash

env GOOS=windows GOARCH=amd64 go build -o fastly.exe cmd/fastly/main.go