How can you compile main.go to an executable that will run on OSX arm64 ?
Set GOOS to darwin and GOARCH to arm64. documentation
Set GOOS to arm64 and GOARCH to darwin.
Set GOOS to osx and GOARCH to arm64.
Set GOOS to arm64 and GOARCH to osx.