build.bat 206 B

12345678910111213
  1. SET CGO_ENABLED=0
  2. SET GOOS=linux
  3. SET GOARCH=amd64
  4. echo now the CGO_ENABLED:
  5. go env CGO_ENABLED
  6. echo now the GOOS:
  7. go env GOOS
  8. echo now the GOARCH:
  9. go env GOARCH
  10. go build -o ./bin/admin-server main.go