- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 785 for gomod (0.12 sec)
-
src/cmd/go/testdata/script/mod_outside.txt
env GO111MODULE=on [short] skip # This script tests commands in module mode outside of any module. # # First, ensure that we really are in module mode, and that we really don't have # a go.mod file. go env GOMOD stdout 'NUL|/dev/null' # 'go list' without arguments implicitly operates on the current directory, # which is not in a module. ! go list
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 18 15:34:40 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/go/internal/list/list.go
Indirect bool // module is only indirectly needed by main module Dir string // directory holding local copy of files, if any GoMod string // path to go.mod file describing module, if any GoVersion string // go version used in module Retracted []string // retraction information, if any (with -retracted or -u)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:56:39 UTC 2024 - 33.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/read.go
} } tokens = append(tokens, tok.text) end = tok.endPos } } var ( slashSlash = []byte("//") moduleStr = []byte("module") ) // ModulePath returns the module path from the gomod file text. // If it cannot find a module path, it returns an empty string. // It is tolerant of unrelated problems in the go.mod file. func ModulePath(mod []byte) string { for len(mod) > 0 { line := mod
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// GOHOSTOS // The operating system (GOOS) of the Go toolchain binaries. // GOMOD // The absolute path to the go.mod of the main module. // If module-aware mode is enabled, but there is no go.mod, GOMOD will be // os.DevNull ("/dev/null" on Unix-like systems, "NUL" on Windows). // If module-aware mode is disabled, GOMOD will be the empty string. // GOTOOLDIR
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
src/cmd/go/testdata/mod/example.com_retract_v1.0.0-good.txt
-- .mod -- module example.com/retract go 1.15 -- .info -- {"Version":"v1.0.0-good"} -- retract.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 26 21:12:37 UTC 2020 - 120 bytes - Viewed (0) -
src/go/build/build.go
return errNoModules } // Predict whether module aware mode is enabled by checking the value of // GO111MODULE and looking for a go.mod file in the source directory or // one of its parents. Running 'go env GOMOD' in the source directory would // give a canonical answer, but we'd prefer not to execute another command. go111Module := os.Getenv("GO111MODULE") switch go111Module { case "off": return errNoModules
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
src/cmd/go/testdata/mod/not-rsc.io_quote_v0.1.0-nomod.txt
Constructed by hand. (derived from rsc.io/quote@e7a685a342, but without an explicit go.mod file.) -- .mod -- module "not-rsc.io/quote" -- .info -- {"Version":"v0.1.0-nomod","Time":"2018-02-14T00:51:33Z"} -- quote.go -- // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package quote collects pithy sayings.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 24 17:40:35 UTC 2019 - 1.5K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
return nil, fmt.Errorf("%s: %w", args[0], err) } if deprecation != "" { fmt.Fprintf(os.Stderr, "go: module %s is deprecated: %s\n", rootMod.Path, modload.ShortMessage(deprecation, "")) } data, err := modfetch.GoMod(ctx, rootMod.Path, rootMod.Version) if err != nil { return nil, fmt.Errorf("%s: %w", args[0], err) } f, err := modfile.Parse("go.mod", data, nil) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_overlay.txt
{ "Replace": { "nomod/go.mod": "../../../overlay/carve-nomod-go-mod" } } -- carve/overlay_uncarve_module.json -- { "Replace": { "hasmod/go.mod": "" } } -- carve/hasmod/a.go -- package hasmod -- carve/hasmod/go.mod -- module carve/hasmod -- carve/nomod/b.go -- package nomod -- $WORK/overlay/carve-nomod-go-mod -- module carve/nomod -- carve2/go.mod -- module carve2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 7.7K bytes - Viewed (0) -
pilot/pkg/security/authz/model/util_test.go
cases := []struct { s string want []string err bool }{ {s: "[good]", want: []string{"good"}}, {s: "[good][abc][xyz]", want: []string{"good", "abc", "xyz"}}, {s: "[]", want: []string{""}}, {s: "[[good]", want: []string{"[good"}}, {s: "[good]]", want: []string{"good]"}}, {s: "[[good]]", want: []string{"[good]"}}, {s: "x[bad]", err: true}, {s: "[bad", err: true}, {s: "bad]", err: true},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Oct 30 00:00:33 UTC 2020 - 2.8K bytes - Viewed (0)