1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// +build !windows package commands import ( "runtime" ) func getPlatform() *Platform { return &Platform{ os: runtime.GOOS, shell: "bash", shellArg: "-c", escapedQuote: "'", openCommand: "open {{filename}}", fallbackEscapedQuote: "\"", } }