- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for GOROOT (0.04 sec)
-
doc/next/6-stdlib/99-minor/runtime/51473.md
The [GOROOT] function is now deprecated. In new code prefer to use the system path to locate the “go” binary,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 20 22:49:59 UTC 2024 - 158 bytes - Viewed (0) -
internal/logger/logger.go
} goPathList = strings.Split(goPath, pathSeparator) goRootList = strings.Split(goRoot, pathSeparator) defaultgoPathList = strings.Split(build.Default.GOPATH, pathSeparator) defaultgoRootList = strings.Split(build.Default.GOROOT, pathSeparator) // Add trim string "{GOROOT}/src/" into trimStrings trimStrings = []string{filepath.Join(runtime.GOROOT(), "src") + string(filepath.Separator)}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0) -
src/README.vendor
module commands like 'go get' and 'go mod vendor' from a directory in GOROOT/src. Maintaining vendor directories ============================== Before updating vendor directories, ensure that module mode is enabled. Make sure that GO111MODULE is not set in the environment, or that it is set to 'on' or 'auto', and if you use a go.work file, set GOWORK=off. Also, ensure that 'go env GOROOT' shows the root of this Go source
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 30 19:15:39 UTC 2024 - 2.4K bytes - Viewed (0) -
api/next/51473.txt
pkg runtime, func GOROOT //deprecated #51473...
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 20 22:49:59 UTC 2024 - 45 bytes - Viewed (0) -
misc/ios/go_ios_exec.go
// and returns the path to the package source relative to $GOROOT (or $GOPATH). func subdir() (pkgpath string, underGoRoot bool, err error) { cwd, err := os.Getwd() if err != nil { return "", false, err } cwd, err = filepath.EvalSymlinks(cwd) if err != nil { log.Fatal(err) } goroot, err := filepath.EvalSymlinks(runtime.GOROOT()) if err != nil { return "", false, err }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 18 16:32:49 UTC 2024 - 8.7K bytes - Viewed (0) -
doc/README.md
[CL 6789](/cl/6789) # Gerrit changelists To preview `next` content in merged form using a local instance of the website, run: ``` go run golang.org/x/website/cmd/golangorg@latest -goroot=.. ``` Then open http://localhost:6060/doc/next. Refresh the page to see your latest edits. ## For the release team The `relnote` tool, at `golang.org/x/build/cmd/relnote`, operates on the files in `doc/next`.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Jul 22 17:55:04 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/api/main_test.go
var exitCode = 0 func Check(t *testing.T) { checkFiles, err := filepath.Glob(filepath.Join(testenv.GOROOT(t), "api/go1*.txt")) if err != nil { t.Fatal(err) } var nextFiles []string if v := runtime.Version(); strings.Contains(v, "devel") || strings.Contains(v, "beta") { next, err := filepath.Glob(filepath.Join(testenv.GOROOT(t), "api/next/*.txt")) if err != nil { t.Fatal(err) } nextFiles = next }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
common/scripts/setup_env.sh
exit 1 fi echo "Using cached image $IMG, created $(<<<"$latest" cut -d~ -f3)" >&2 fi ENV_BLOCKLIST="${ENV_BLOCKLIST:-^_\|^PATH=\|^GOPATH=\|^GOROOT=\|^SHELL=\|^EDITOR=\|^TMUX=\|^USER=\|^HOME=\|^PWD=\|^TERM=\|^RUBY_\|^GEM_\|^rvm_\|^SSH=\|^TMPDIR=\|^CC=\|^CXX=\|^MAKEFILE_LIST=}" # Remove functions from the list of exported variables, they mess up with the `env` command.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 06 04:52:54 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/common-main.go
fmt.Println("Press the Enter Key to Exit") fmt.Scanln() os.Exit(1) } } logger.Init(GOPATH, GOROOT) logger.RegisterError(config.FmtError) t, _ := minioVersionToReleaseTime(Version) if !t.IsZero() { globalVersionUnix = uint64(t.Unix()) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0) -
src/cmd/cgo/doc.go
declared in the preamble may be used, even if they start with a lower-case letter. Exception: static variables in the preamble may not be referenced from Go code; static functions are permitted. See $GOROOT/cmd/cgo/internal/teststdio and $GOROOT/misc/cgo/gmp for examples. See "C? Go? Cgo!" for an introduction to using cgo: https://golang.org/doc/articles/c_go_cgo.html. CFLAGS, CPPFLAGS, CXXFLAGS, FFLAGS and LDFLAGS may be defined with pseudo
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 01 22:52:54 UTC 2024 - 44K bytes - Viewed (0)