- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 120 for GoVersion (0.34 sec)
-
src/cmd/go/internal/modinfo/info.go
Dir string `json:",omitempty"` // directory holding local copy of files, if any GoMod string `json:",omitempty"` // path to go.mod file describing module, if any GoVersion string `json:",omitempty"` // go version used in module Retracted []string `json:",omitempty"` // retraction information, if any (with -retracted or -u)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/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: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
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) -
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/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/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) -
src/go/build/deps_test.go
internal/coverage/rtcov, internal/coverage/uleb128, internal/coverage/calloc, internal/cpu, internal/goarch, internal/godebugs, internal/goexperiment, internal/goos, internal/goversion, internal/nettrace, internal/platform, internal/profilerecord, internal/trace/traceviewer/format, log/internal, math/bits, unicode, unicode/utf8, unicode/utf16;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0)