- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 355 for gopack (0.21 sec)
-
src/cmd/go/script_test.go
must(os.MkdirAll(filepath.Join(work, "tmp"), 0777)) must(s.Setenv(tempEnvName(), filepath.Join(work, "tmp"))) gopath := filepath.Join(work, "gopath") must(s.Setenv("GOPATH", gopath)) gopathSrc := filepath.Join(gopath, "src") must(os.MkdirAll(gopathSrc, 0777)) must(s.Chdir(gopathSrc)) return telemetryDir }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/README
a small script engine configured in ../../script_test.go (not the system shell). The scripts' supporting files are unpacked relative to $GOPATH/src (aka $WORK/gopath/src) and then the script begins execution in that directory as well. Thus the example above runs in $WORK/gopath/src with GOPATH=$WORK/gopath and $WORK/gopath/src/hello.go containing the listed contents. Each line of a script is parsed into a sequence of space-separated command
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 12.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_gofile_in_goroot.txt
go list . [!GOOS:windows] stdout ^_$WORK/goroot/src$ [GOOS:windows] stdout goroot/src$ # switch to GOPATH/src cd $GOPATH/src # GO111MODULE=off,GOPATH env GO111MODULE=off go list ./... [!GOOS:windows] stdout ^_$WORK/gopath/src$ [GOOS:windows] stdout gopath/src$ go list all ! stdout gopath/src -- $WORK/goroot/src/go.mod -- module std go 1.14 -- $WORK/goroot/src/foo.go -- package foo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/vendor_test_issue11864.txt
package t -- $GOPATH/src/github.com/rsc/go-get-issue-11864/tx/tx_test.go -- package tx_test import _ "vendor.org/p" import _ "vendor.org/p1" import "testing" func TestNop(t *testing.T) {} -- $GOPATH/src/github.com/rsc/go-get-issue-11864/tx/tx.go -- package tx -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/p1/p1.go -- package p1 // import "vendor.org/p1"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 14:41:02 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_download_partial.txt
# if there is an error extracting the zip file. rm $GOPATH/pkg/mod/rsc.io/quote@v1.5.2 cp empty $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.zip ! go mod download stderr 'not a valid zip file' ! exists $GOPATH/pkg/mod/rsc.io/quote@v1.5.2 ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.partial -- go.mod -- module m go 1.14 require rsc.io/quote v1.5.2 -- use.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 10 19:08:19 UTC 2022 - 2.1K bytes - Viewed (0) -
pkg/kubelet/eviction/mock_threshold_notifier_test.go
// // Package eviction is a generated GoMock package. package eviction import ( context "context" reflect "reflect" time "time" gomock "go.uber.org/mock/gomock" v1alpha1 "k8s.io/kubelet/pkg/apis/stats/v1alpha1" ) // MockManager is a mock of Manager interface. type MockManager struct { ctrl *gomock.Controller recorder *MockManagerMockRecorder }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 13.2K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/testing/provider_mock.go
// // Package testing is a generated GoMock package. package testing import ( reflect "reflect" gomock "go.uber.org/mock/gomock" v1 "k8s.io/api/core/v1" v10 "k8s.io/kubelet/pkg/apis/podresources/v1" ) // MockDevicesProvider is a mock of DevicesProvider interface. type MockDevicesProvider struct { ctrl *gomock.Controller recorder *MockDevicesProviderMockRecorder }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 10.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/work_why_download_graph.txt
# TODO(bcmills): clarify the interaction with #44435 go mod download rsc.io/quote exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.info exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.mod exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.zip ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.info ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.mod
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 02 23:07:08 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_trimpath.txt
# Same sequence of tests but in GOPATH mode. # A binary built without -trimpath should contain GOPATH and GOROOT. env GO111MODULE=off cd $WORK env GOPATH=$WORK/a go build -o paths-dbg.exe paths exec ./paths-dbg.exe paths-dbg.exe stdout 'binary contains GOPATH: true' stdout 'binary contains an empty GOROOT' # A binary built with -trimpath should not contain GOPATH. go build -trimpath -o paths-a.exe paths
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 4.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/gopath_install.txt
# Regression test for 'go install' locations in GOPATH mode. env GO111MODULE=off [short] skip # Without $GOBIN set, binaries should be installed into the GOPATH bin directory. env GOBIN= rm $GOPATH/bin/go-cmd-test$GOEXE go install go-cmd-test exists $GOPATH/bin/go-cmd-test$GOEXE # With $GOBIN set, binaries should be installed to $GOBIN. env GOBIN=$WORK/bin1 mkdir -p $GOBIN go install go-cmd-test exists $GOBIN/go-cmd-test$GOEXE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 15 00:06:54 UTC 2021 - 1.6K bytes - Viewed (0)