- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 198 for toVersion (0.14 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go
} files = append(files, f) } tc := &types.Config{ Importer: makeTypesImporter(cfg, fset), Sizes: types.SizesFor("gc", build.Default.GOARCH), // TODO(adonovan): use cfg.Compiler GoVersion: cfg.GoVersion, } info := &types.Info{ Types: make(map[ast.Expr]types.TypeAndValue), Defs: make(map[*ast.Ident]types.Object), Uses: make(map[*ast.Ident]types.Object),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/00-bug.yml
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 04 23:31:17 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_retention.txt
) -- go.mod.nogo -- module m require ( rsc.io/quote v1.5.2 rsc.io/sampler v1.3.0 // indirect rsc.io/testonly v1.0.0 // indirect ) -- go.mod.addedgo -- module m go $goversion require rsc.io/quote v1.5.2 require ( golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c // indirect rsc.io/sampler v1.3.0 // indirect rsc.io/testonly v1.0.0 // indirect
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 20 18:41:57 UTC 2021 - 3K bytes - Viewed (0) -
src/go/types/api.go
Context *Context // GoVersion describes the accepted Go language version. The string must // start with a prefix of the form "go%d.%d" (e.g. "go1.20", "go1.21rc1", or // "go1.21.0") or it must be empty; an empty string disables Go language // version checks. If the format is invalid, invoking the type checker will // result in an error. GoVersion string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_graph_version.txt
# Unsupported go versions should be rejected, since we don't know # what versions they would report. ! go mod graph -go=1.99999999999 stderr '^invalid value "1\.99999999999" for flag -go: maximum supported Go version is '$goversion'\nusage: go mod graph \[-go=version\] \[-x\]\nRun ''go help mod graph'' for details.$' -- go.mod -- // Module m indirectly imports a package from // example.com/retract/incompatible. Its selected version of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 21:10:42 UTC 2022 - 3.3K bytes - Viewed (0) -
hack/verify-vendor.sh
hack/update-vendor.sh popd > /dev/null 2>&1 ret=0 pushd "${KUBE_ROOT}" > /dev/null 2>&1 # Test for diffs if ! _out="$(diff -Naupr --ignore-matching-lines='^\s*\"GoVersion\":' go.mod "${_kubetmp}/go.mod")"; then echo "Your go.mod file is different:" >&2 echo "${_out}" >&2 echo "Vendor Verify failed." >&2
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 05:44:45 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/dist/build.go
// // Note that we lightly parse internal/goversion/goversion.go to // obtain the base version. We can't just import the package, // because cmd/dist is built with a bootstrap GOROOT which could // be an entirely different version of Go. We assume // that the file contains "const Version = <Integer>". goversionSource := readfile(pathf("%s/src/internal/goversion/goversion.go", goroot))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
Context *Context // GoVersion describes the accepted Go language version. The string must // start with a prefix of the form "go%d.%d" (e.g. "go1.20", "go1.21rc1", or // "go1.21.0") or it must be empty; an empty string disables Go language // version checks. If the format is invalid, invoking the type checker will // result in an error. GoVersion string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/work.txt
go list ./b/main.go env GOWORK=off go build -n -o foo foo.go env GOWORK= go build -n -o foo foo.go -- go.work.dup -- go 1.18 use ( a b ../src/a ) -- go.work.want -- go $goversion use ( ./a ./b ) -- go.work.d -- go 1.18 use ( a b d ) -- a/go.mod -- module example.com/a -- a/a.go -- package a import "fmt"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 2.6K bytes - Viewed (0) -
src/go/types/api_test.go
goversion := fmt.Sprintf("go1.%d", goversion.Version) for _, v := range []string{ goversion, goversion + ".0", goversion + ".1", goversion + ".rc", } { conf := Config{GoVersion: v} pkg := mustTypecheck("package p", &conf, nil) if pkg.GoVersion() != conf.GoVersion { t.Errorf("got %s; want %s", pkg.GoVersion(), conf.GoVersion) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0)