- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 365 for gopark (0.24 sec)
-
src/cmd/go/testdata/script/build_gopath_order.txt
# golang.org/issue/14176#issuecomment-179895769 # golang.org/issue/14192 # -I arguments to compiler could end up not in GOPATH order, # leading to unexpected import resolution in the compiler. env GO111MODULE=off env GOPATH=$WORK/p1${:}$WORK/p2 mkdir $WORK/p1/src/foo $WORK/p2/src/baz mkdir $WORK/p2/pkg/${GOOS}_${GOARCH} $WORK/p1/src/bar cp foo.go $WORK/p1/src/foo/foo.go cp baz.go $WORK/p2/src/baz/baz.go cp foo.a $WORK/p2/pkg/${GOOS}_${GOARCH}/foo.a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 855 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_cache_rw.txt
# should be able to remove the module cache if the '-rf' flags are set. [!GOOS:windows] [exec:rm] exec rm -rf $GOPATH/pkg/mod [!GOOS:windows] [!exec:rm] go clean -modcache [GOOS:windows] [exec:cmd.exe] exec cmd.exe /c rmdir /s /q $GOPATH\pkg\mod [GOOS:windows] [!exec:cmd.exe] go clean -modcache ! exists $GOPATH/pkg/mod # The directories in the module cache should by default be unwritable,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_trimpath_cgo.txt
go build -o hello.exe . grep -q gopath[/\\]src hello.exe go run ./list-dwarf hello.exe stdout gopath[/\\]src # Check that the source path does not appear when -trimpath is used. [GOOS:aix] stop # can't inspect XCOFF binaries go build -trimpath -o hello.exe . ! grep -q gopath[/\\]src hello.exe go run ./list-dwarf hello.exe ! stdout gopath/src
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 3.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/vendor_issue12156.txt
# Tests issue #12156, a former index out of range panic. env GO111MODULE=off env GOPATH=$WORK/gopath/src/testvendor2 # vendor/x is directly in $GOPATH, not in $GOPATH/src cd $WORK/gopath/src/testvendor2/src/p ! go build p.go ! stderr panic # Make sure it doesn't panic stderr 'cannot find package "x"' -- testvendor2/src/p/p.go -- package p import "x" -- testvendor2/vendor/x/x.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 398 bytes - Viewed (0) -
src/cmd/internal/moddeps/moddeps_test.go
// GOMODCACHE. If the default directory doesn't exist, use a temporary // directory instead. (That can occur, for example, when running under // run.bash with GO_TEST_SHORT=0: run.bash sets GOPATH=/nonexist-gopath, and // GO_TEST_SHORT=0 causes it to run this portion of the test.) var modcacheEnv []string { out, err := testenv.Command(t, goBin, "env", "GOMODCACHE").Output() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 18.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testgodefs/testgodefs_test.go
testenv.MustHaveGoRun(t) testenv.MustHaveCGO(t) testdata, err := filepath.Abs("testdata") if err != nil { t.Fatal(err) } gopath, err := os.MkdirTemp("", "testgodefs-gopath") if err != nil { t.Fatal(err) } defer os.RemoveAll(gopath) dir := filepath.Join(gopath, "src", "testgodefs") if err := os.MkdirAll(dir, 0755); err != nil { t.Fatal(err) } for _, fp := range filePrefixes {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_symlink.txt
stdout golang.org/x/text # Create a copy of the module using symlinks in src/links. mkdir links symlink links/go.mod -> $GOPATH/src/go.mod symlink links/go.sum -> $GOPATH/src/go.sum symlink links/issue.go -> $GOPATH/src/issue.go mkdir links/subpkg symlink links/subpkg/issue.go -> $GOPATH/src/subpkg/issue.go # We should see the copy as a valid module root. cd links go env GOMOD stdout links[/\\]go.mod go list -m
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 1.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_invalid_path.txt
# Test that go list fails on a go.mod with no module declaration. cd $WORK/gopath/src/mod ! go list . stderr '^go: error reading go.mod: missing module declaration. To specify the module path:\n\tgo mod edit -module=example.com/mod$' # Test that go mod init in GOPATH doesn't add a module declaration # with a path that can't possibly be a module path, because # it isn't even a valid import path.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 02 02:54:20 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/vendor_test_issue14613.txt
t.Errorf("fake returned %q, expected %q", ret, expected) } } -- $GOPATH/src/github.com/clsung/go-vendor-issue-14613/./vendor/mylibtesttest/myapp/myapp_test.go -- package myapp import ( "mylibtesttest/rds" ) -- $GOPATH/src/github.com/clsung/go-vendor-issue-14613/./vendor/mylibtesttest/rds/rds.go -- package rds -- $GOPATH/src/github.com/clsung/go-vendor-issue-14613/./vendor/github.com/clsung/fake/fake.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 14:41:02 UTC 2023 - 1.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_file_proxy.txt
[short] skip # Allow (cached) downloads for -mod=readonly. env GO111MODULE=on env GOPATH=$WORK/gopath1 cd $WORK/x go mod edit -fmt go list -mod=readonly env GOPROXY=file:///nonexist go list grep v1.5.1 $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/list # Use download cache as file:/// proxy. env GOPATH=$WORK/gopath2 [GOOS:windows] env GOPROXY=file:///C:/nonexist [!GOOS:windows] env GOPROXY=file:///nonexist ! go list
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.2K bytes - Viewed (0)