()
| 118 | } |
| 119 | |
| 120 | func DgraphBinaryPath() string { |
| 121 | gopath := os.Getenv("GOPATH") |
| 122 | |
| 123 | if gopath == "" { |
| 124 | gopath = build.Default.GOPATH |
| 125 | } |
| 126 | |
| 127 | return filepath.Join(gopath, "bin", buildvars.BinaryName.Get()) |
| 128 | } |
| 129 | |
| 130 | func DetectRaceInZeros(prefix string) bool { |
| 131 | for i := 0; i <= 3; i++ { |