- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 98 for goVERSION (0.16 sec)
-
src/cmd/go/testdata/script/mod_edit.txt
go mod edit -dropgodebug key cmpenv go.mod go.mod.start -- x.go -- package x -- w/w.go -- package w -- $WORK/go.mod.init -- module x.x/y/z go $goversion -- $WORK/go.mod.edit1 -- module x.x/y/z go $goversion require x.1 v1.0.0 exclude ( x.1 v1.2.0 x.1 v1.2.1 x.1 v2.0.0+incompatible ) replace ( x.1 v1.3.0 => y.1 v1.4.0 x.1 v1.4.0 => ../z )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 6.6K bytes - Viewed (0) -
src/go/types/package.go
func (pkg *Package) SetName(name string) { pkg.name = name } // GoVersion returns the minimum Go version required by this package. // If the minimum version is unknown, GoVersion returns the empty string. // Individual source files may specify a different minimum Go version, // as reported in the [go/ast.File.GoVersion] field. func (pkg *Package) GoVersion() string { return pkg.goVersion } // Scope returns the (complete or incomplete) package scope
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 3K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/switch.go
s.addTooNew(e) } case interface{ Unwrap() error }: s.addTooNew(err.Unwrap()) case *gover.TooNewError: if s.TooNew == nil || gover.Compare(err.GoVersion, s.TooNew.GoVersion) > 0 || gover.Compare(err.GoVersion, s.TooNew.GoVersion) == 0 && err.What < s.TooNew.What { s.TooNew = err } } } // NeedSwitch reports whether Switch would attempt to switch toolchains.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 7K bytes - Viewed (0) -
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) -
operator/pkg/version/version.go
func IsVersionString(path string) bool { _, err := goversion.NewSemver(path) if err != nil { return false } vs := Version{} return yaml.Unmarshal([]byte(path), &vs) == nil } // TagToVersionString converts an istio container tag into a version string func TagToVersionString(path string) (string, error) { path = strings.TrimPrefix(path, releasePrefix) ver, err := goversion.NewSemver(path) if err != nil { return "", err
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 29 14:15:26 UTC 2023 - 4.4K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/tidy.go
modload.ForceUseModules = true modload.RootMode = modload.NeedRoot goVersion := tidyGo.String() if goVersion != "" && gover.Compare(gover.Local(), goVersion) < 0 { toolchain.SwitchOrFatal(ctx, &gover.TooNewError{ What: "-go flag", GoVersion: goVersion, }) } modload.LoadPackages(ctx, modload.PackageOpts{ TidyGoVersion: tidyGo.String(),
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/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/vendor/golang.org/x/telemetry/internal/config/config.go
} return NewConfig(&cfg), nil } func NewConfig(cfg *telemetry.UploadConfig) *Config { ucfg := Config{UploadConfig: cfg} ucfg.goos = set(ucfg.GOOS) ucfg.goarch = set(ucfg.GOARCH) ucfg.goversion = set(ucfg.GoVersion) ucfg.program = make(map[string]bool, len(ucfg.Programs)) ucfg.pgversion = make(map[pgkey]bool, len(ucfg.Programs)) ucfg.pgcounter = make(map[pgkey]bool, len(ucfg.Programs))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/types.go
package telemetry // Common types and directories used by multiple packages. // An UploadConfig controls what data is uploaded. type UploadConfig struct { GOOS []string GOARCH []string GoVersion []string SampleRate float64 Programs []*ProgramConfig } type ProgramConfig struct { // the counter names may have to be // repeated for each program. (e.g., if the counters are in a package
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:10:54 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/go/internal/modload/vendor.go
if entry == "explicit" { meta.Explicit = true } if goVersion, ok := strings.CutPrefix(entry, "go "); ok { meta.GoVersion = goVersion rawGoVersion.Store(mod, meta.GoVersion) if gover.Compare(goVersion, gover.Local()) > 0 { base.Fatal(&gover.TooNewError{What: mod.Path + " in " + base.ShortPath(vendorFile), GoVersion: goVersion}) } } // All other tokens are reserved for future use.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 24 18:09:22 UTC 2023 - 9.5K bytes - Viewed (0)