Lines Matching full:gobin
22 gobin string
101 b := os.Getenv("GOBIN")
105 gobin = b
340 // The old tools that no longer live in $GOBIN or $GOROOT/bin.
428 // If $GOBIN is set and has a Go compiler, it must be cleaned.
430 if isfile(pathf("%s%s%c%s", gobin, slash, char, "g")) {
432 xremove(pathf("%s/%s", gobin, old))
981 xprintf(format, "GOBIN", gobin)
999 xprintf(format, "PATH", fmt.Sprintf("%s%s%s", gobin, sep, os.Getenv("PATH")))
1168 xprintf("Installed commands in %s\n", gobin)
1171 // If the files are to be moved, don't check that gobin
1174 // Check that gobin is bound before /bin.
1177 if !strings.Contains(readfile(ns), fmt.Sprintf("bind -b %s /bin", gobin)) {
1178 xprintf("*** You need to bind %s before /bin.\n", gobin)
1181 // Check that gobin appears in $PATH.
1186 if !strings.Contains(pathsep+os.Getenv("PATH")+pathsep, pathsep+gobin+pathsep) {
1187 xprintf("*** You need to add %s to your PATH.\n", gobin)