initial
This commit is contained in:
commit
cd06f91c84
3 changed files with 17 additions and 0 deletions
7
app.go
Normal file
7
app.go
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import "fmt"
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
fmt.Println(socketPath)
|
||||||
|
}
|
5
app_linux.go
Normal file
5
app_linux.go
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
// +build !windows
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
var socketPath = "./foo.sock"
|
5
app_windows.go
Normal file
5
app_windows.go
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
var socketPath = "C:\foo.sock"
|
Loading…
Reference in a new issue