Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 124 for goVERSION (0.31 sec)

  1. src/cmd/go/testdata/script/mod_sum_issue56222.txt

    cd m1
    go mod tidy
    
    go list -f '{{if eq .ImportPath "example.com/generics"}}{{.Module.GoVersion}}{{end}}' -deps -test example.com/m2/q
    stdout 1.18
    [!short] go test -o $devnull -c all
    
    cat go.sum
    replace 'example.com/generics v1.0.0/go.mod' 'example.com/notgenerics v1.0.0/go.mod' go.sum
    
    ! go list -f '{{if eq .ImportPath "example.com/generics"}}{{.Module.GoVersion}}{{end}}' -deps -test example.com/m2/q
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 12 13:58:58 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apimachinery/pkg/version/types.go

    	Minor        string `json:"minor"`
    	GitVersion   string `json:"gitVersion"`
    	GitCommit    string `json:"gitCommit"`
    	GitTreeState string `json:"gitTreeState"`
    	BuildDate    string `json:"buildDate"`
    	GoVersion    string `json:"goVersion"`
    	Compiler     string `json:"compiler"`
    	Platform     string `json:"platform"`
    }
    
    // String returns info as a human-friendly version string.
    func (info Info) String() string {
    	return info.GitVersion
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 17 11:34:05 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top