This commit is contained in:
Vincent Batts 2018-05-17 14:18:42 -04:00
commit cd06f91c84
3 changed files with 17 additions and 0 deletions

7
app.go Normal file
View File

@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println(socketPath)
}

5
app_linux.go Normal file
View File

@ -0,0 +1,5 @@
// +build !windows
package main
var socketPath = "./foo.sock"

5
app_windows.go Normal file
View File

@ -0,0 +1,5 @@
// +build windows
package main
var socketPath = "C:\foo.sock"