- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 202 for importpath (0.13 sec)
-
src/cmd/go/testdata/script/mod_list_dir.txt
go get env GO111MODULE=off go list -f '{{.ImportPath}}' $GOROOT/src/math stdout ^math$ env GO111MODULE=on go list -f '{{.ImportPath}}' $GOROOT/src/math stdout ^math$ go list -f '{{.ImportPath}}' . stdout ^x$ go mod download rsc.io/quote@v1.5.2 go list -f '{{.ImportPath}}' $GOPATH/pkg/mod/rsc.io/quote@v1.5.2 stdout '^rsc.io/quote$' go list -f '{{.ImportPath}}' $GOPATH/pkg/mod/rsc.io/sampler@v1.3.0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 10 19:08:19 UTC 2022 - 854 bytes - Viewed (0) -
src/internal/coverage/cformat/format.go
// same import path; counter data values will be accumulated. func (fm *Formatter) SetPackage(importpath string) { if importpath == fm.pkg { return } fm.pkg = importpath ps, ok := fm.pm[importpath] if !ok { ps = new(pstate) fm.pm[importpath] = ps ps.unitTable = make(map[extcu]uint32) ps.funcTable = make(map[fnfile]uint32) } fm.p = ps }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_pgo_issue66218.txt
# the non-pgo variant's slice when it modifies the pgo variant's Imports field to # add the [.ForMain] suffix. go list -f 'ImportPath: "{{.ImportPath}}", Imports: "{{.Imports}}", ImportMap: "{{.ImportMap}}"' m/a m/b cmp stdout want -- want -- ImportPath: "m/a", Imports: "[m/b [m/a]]", ImportMap: "map[m/b:m/b [m/a]]" ImportPath: "m/b", Imports: "[m/c]", ImportMap: "map[]" -- go.mod -- module m go 1.23 -- a/a.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 615 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_test_cycle.txt
go list ./p stdout 'example/p' ! go list -json=ImportPath -test ./p cmp stderr wanterr.txt ! go list -json=ImportPath,Deps -test ./p cmp stderr wanterr.txt ! go list -json=ImportPath,Deps -deps -test ./p cmp stderr wanterr.txt ! go list -json=ImportPath -deps -test ./p cmp stderr wanterr.txt -- wanterr.txt -- go: can't load test package: package example/p imports example/q imports example/r
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 19:18:23 UTC 2023 - 644 bytes - Viewed (0) -
src/cmd/go/internal/work/cover.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 19:09:38 UTC 2023 - 5.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_import_cycle_deps_errors.txt
go list -e -deps -json=ImportPath,Error,DepsErrors m/a cmp stdout want -- want -- { "ImportPath": "m/c", "DepsErrors": [ { "ImportStack": [ "m/a", "m/b", "m/c", "m/a" ], "Pos": "", "Err": "import cycle not allowed" } ] } { "ImportPath": "m/b", "DepsErrors": [ { "ImportStack": [ "m/a", "m/b", "m/c", "m/a" ], "Pos": "",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 19:18:27 UTC 2023 - 880 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_shadow.txt
# The math in root1 is not "math" because the standard math is. go list -f '({{.ImportPath}}) ({{.ConflictDir}})' ./shadow/root1/src/math stdout '^\(.*(\\|/)src(\\|/)shadow(\\|/)root1(\\|/)src(\\|/)math\) \('$GOROOT'(\\|/)?src(\\|/)math\)$' # The foo in root1 is "foo". go list -f '({{.ImportPath}}) ({{.ConflictDir}})' ./shadow/root1/src/foo stdout '^\(foo\) \(\)$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 15 00:06:54 UTC 2021 - 1.2K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
// src/cmd/go/internal/modcmd/vendor.go fold := str.ToFold(p.ImportPath) if other := foldPath[fold]; other == "" { foldPath[fold] = p.ImportPath } else if other != p.ImportPath { setError(ImportErrorf(p.ImportPath, "case-insensitive import collision: %q and %q", p.ImportPath, other)) return } if !SafeArg(p.ImportPath) { setError(ImportErrorf(p.ImportPath, "invalid import path %q", p.ImportPath)) return }
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/gopath_std_vendor.txt
# resolve its dependencies in GOPATH/src. cd ../issue16333 go build . go list -deps -f '{{.ImportPath}} {{.Dir}}' . stdout $GOPATH[/\\]src[/\\]vendor[/\\]golang.org[/\\]x[/\\]net[/\\]http2[/\\]hpack ! stdout $GOROOT[/\\]src[/\\]vendor go list -test -deps -f '{{.ImportPath}} {{.Dir}}' . stdout $GOPATH[/\\]src[/\\]vendor[/\\]golang.org[/\\]x[/\\]net[/\\]http2[/\\]hpack ! stdout $GOROOT[/\\]src[/\\]vendor
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.4K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg_test.go
pkg := new(Package) pkg.ImportPath = tt.in pkg.GoFiles = tt.files pkg.Internal.CmdlineFiles = len(tt.files) > 0 gotMod := pkg.DefaultExecName() if gotMod != tt.wantMod { t.Errorf("pkg.DefaultExecName with ImportPath = %q in module mode = %v; want %v", tt.in, gotMod, tt.wantMod) } } { cfg.ModulesEnabled = false pkg := new(Package) pkg.ImportPath = tt.in pkg.GoFiles = tt.files
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 14:05:53 UTC 2022 - 2.4K bytes - Viewed (0)