1 2 3 4 5 6 7 8 9 10 11 12
package main import "runtime" // buildOutputName returns the correct ponzu-server file name // based on the host Operating System func buildOutputName() string { if runtime.GOOS == "windows" { return "ponzu-server.exe" } return "ponzu-server" }