- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for goVERSION (0.35 sec)
-
src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go
if prog.Program == meta["Program"] && prog.Version == meta["Version"] && prog.GoVersion == meta["GoVersion"] && prog.GOOS == meta["GOOS"] && prog.GOARCH == meta["GOARCH"] { return prog } } prog := telemetry.ProgramReport{ Program: meta["Program"], Version: meta["Version"], GoVersion: meta["GoVersion"], GOOS: meta["GOOS"], GOARCH: meta["GOARCH"],
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/vendor.go
io.WriteString(w, line) goVersion := "" if includeGoVersions { goVersion = modload.ModuleInfo(ctx, m.Path).GoVersion } switch { case isExplicit[m] && goVersion != "": fmt.Fprintf(w, "## explicit; go %s\n", goVersion) case isExplicit[m]: io.WriteString(w, "## explicit\n") case goVersion != "": fmt.Fprintf(w, "## go %s\n", goVersion) } pkgs := modpkgs[m]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 14:19:59 UTC 2024 - 14.5K bytes - Viewed (0) -
src/cmd/go/internal/modload/build.go
m.Version = q.Version m.Time = &q.Time } } if m.GoVersion == "" && checksumOk("/go.mod") { // Load the go.mod file to determine the Go version, since it hasn't // already been populated from rawGoVersion. if summary, err := rawGoModSummary(mod); err == nil && summary.goVersion != "" { m.GoVersion = summary.goVersion } } if m.Version != "" { if checksumOk("/go.mod") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:56:39 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
// determine Go version for each file for _, file := range check.files { // use unaltered Config.GoVersion by default // (This version string may contain dot-release numbers as in go1.20.1, // unlike file versions which are Go language versions only, if valid.) v := check.conf.GoVersion fileVersion := asGoVersion(file.GoVersion) if fileVersion.isValid() { // use the file version, if applicable
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
src/go/types/check.go
// determine Go version for each file for _, file := range check.files { // use unaltered Config.GoVersion by default // (This version string may contain dot-release numbers as in go1.20.1, // unlike file versions which are Go language versions only, if valid.) v := check.conf.GoVersion fileVersion := asGoVersion(file.GoVersion) if fileVersion.isValid() { // use the file version, if applicable
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/loopclosure.go
vars = append(vars, obj) } } } var body *ast.BlockStmt switch n := n.(type) { case *ast.File: // Only traverse the file if its goversion is strictly before go1.22. goversion := versions.FileVersion(pass.TypesInfo, n) return versions.Before(goversion, versions.Go1_22) case *ast.RangeStmt: body = n.Body addVar(n.Key) addVar(n.Value) case *ast.ForStmt: body = n.Body
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stdlib_test.go
const prefix = "-lang=" if strings.HasPrefix(arg, prefix) { goVersion = arg[len(prefix):] } } } } // parse and type-check file if testing.Verbose() { fmt.Println("\t", filename) } file, err := syntax.ParseFile(filename, nil, nil, 0) if err == nil { conf := Config{ GoVersion: goVersion, Importer: stdLibImporter, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:18:33 UTC 2024 - 13.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) -
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)