- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,833 for mod$ (0.04 sec)
-
src/cmd/go/testdata/script/mod_edit_go.txt
env GO111MODULE=on ! go build stderr ' type alias requires' go mod edit -go=1.9 grep 'go 1.9' go.mod go build # Reverting the version should force a rebuild and error instead of using # the cached 1.9 build. (https://golang.org/issue/37804) go mod edit -go=1.8 ! go build stderr 'type alias requires' # go=none should drop the line go mod edit -go=none ! grep go go.mod
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 02:54:10 UTC 2024 - 506 bytes - Viewed (0) -
staging/src/k8s.io/client-go/INSTALL.md
If you get a message like `cannot use path@version syntax in GOPATH mode`, you likely do not have go modules enabled. This should be on by default in all supported versions of Go. ```sh export GO111MODULE=on ``` Ensure your project has a `go.mod` file defined at the root of your project. If you do not already have one, `go mod init` will create one for you: ```sh go mod init
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:51 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_vendor_embed.txt
go mod vendor cmp vendor/example.com/a/samedir_embed.txt a/samedir_embed.txt cmp vendor/example.com/a/subdir/embed.txt a/subdir/embed.txt cmp vendor/example.com/a/subdir/test/embed.txt a/subdir/test/embed.txt cmp vendor/example.com/a/subdir/test/xtest/embed.txt a/subdir/test/xtest/embed.txt cd broken_no_matching_files ! go mod vendor stderr '^go: resolving embeds in example.com/brokendep: pattern foo.txt: no matching files found$' go mod vendor -e
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:14:55 UTC 2024 - 4.2K bytes - Viewed (0) -
.github/workflows/tests.yml
- name: Check out code into the Go module directory uses: actions/checkout@v4 - name: go mod package cache uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }} - name: Tests run: GITHUB_ACTION=true GORM_DIALECT=sqlite ./tests/tests_all.sh mysql: strategy:
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 09:24:34 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/tidy.go
version prior to the one indicated by the 'go' directive in the go.mod file. The -x flag causes tidy to print the commands download executes. See https://golang.org/ref/mod#go-mod-tidy for more about 'go mod tidy'. `, Run: runTidy, } var ( tidyE bool // if true, report errors but proceed anyway. tidyDiff bool // if true, do not update go.mod or go.sum and show changes. Return corresponding exit code.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 5K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
return nil, maxTooNew } for _, pm := range pkgMods { pkg, mod := pm.pkg, *pm.mod if mod.Path == "" { continue } fmt.Fprintf(os.Stderr, "go: found %s in %s %s\n", pkg.path, mod.Path, mod.Version) if modAddedBy[mod] == nil { modAddedBy[mod] = pkg } } return modAddedBy, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/cmd/go/internal/gover/version.go
// FromGoMod returns the go version from the go.mod file. // It returns DefaultGoModVersion if the go.mod file does not contain a go line or if mf is nil. func FromGoMod(mf *modfile.File) string { if mf == nil || mf.Go == nil { return DefaultGoModVersion } return mf.Go.Version } // FromGoWork returns the go version from the go.mod file. // It returns DefaultGoWorkVersion if the go.mod file does not contain a go line or if wf is nil.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 15:21:14 UTC 2024 - 3.1K bytes - Viewed (0) -
hack/update-internal-modules.sh
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 22:38:25 UTC 2024 - 1.6K bytes - Viewed (0) -
src/cmd/go/script_test.go
"GCCGOTOOLDIR", // for gccgo testing } // updateSum runs 'go mod tidy', 'go list -mod=mod -m all', or // 'go list -mod=mod all' in the test's current directory if a file named // "go.mod" is present after the archive has been extracted. updateSum modifies // archive and returns true if go.mod or go.sum were changed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
hack/pin-dependency.sh
exit 1 fi kube::golang::setup_env kube::util::require-jq # Explicitly set GOFLAGS to ignore vendor, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor export GOWORK=off export GOFLAGS=-mod=mod dep="${1:-}" sha="${2:-}" # Specifying a different repo is optional. replacement= case ${dep} in *=*) # shellcheck disable=SC2001
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 05:44:43 UTC 2024 - 3.6K bytes - Viewed (0)