- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 115 for goVERSION (0.12 sec)
-
src/cmd/go/testdata/script/work_empty_panic_GOPATH.txt
# Regression test for https://go.dev/issue/58767: # with an empty go.work file in GOPATH mode, calls to load.defaultGODEBUG for a # package named "main" panicked in modload.MainModules.GoVersion. env GO111MODULE=off cd example go list example/m -- example/go.work -- go 1.21 -- example/m/main.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 28 18:50:18 UTC 2023 - 329 bytes - Viewed (0) -
src/go/build/constraint/vers_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 19:39:51 UTC 2023 - 1K 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/go/testdata/script/mod_tidy_version.txt
# write our version in toolchain lines. env goversion=1.99.0 env TESTGO_VERSION=go${goversion} # An invalid argument should be rejected. ! go mod tidy -go=bananas stderr '^invalid value "bananas" for flag -go: expecting a Go version like "'$goversion'"$' cmp go.mod go.mod.orig ! go mod tidy -go=0.9 stderr '^invalid value "0.9" for flag -go: expecting a Go version like "'$goversion'"$' ! go mod tidy -go=2000.0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 02 23:07:08 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/fix/main.go
} func main() { telemetry.Start() flag.Usage = usage flag.Parse() telemetry.Inc("fix/invocations") telemetry.CountFlags("fix/flag:", *flag.CommandLine) if !version.IsValid(*goVersion) { report(fmt.Errorf("invalid -go=%s", *goVersion)) os.Exit(exitCode) } sort.Sort(byDate(fixes)) if *allowedRewrites != "" { allowed = make(map[string]bool) for _, f := range strings.Split(*allowedRewrites, ",") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.4K bytes - Viewed (0) -
src/cmd/fix/main_test.go
// information to accurately correlate with the stderr output. } else { t.Parallel() } } else { old := *goVersion *goVersion = tt.Version defer func() { *goVersion = old }() } // Apply fix: should get tt.Out. out, fixed, ok := parseFixPrint(t, tt.Fn, tt.Name, tt.In, true) if !ok { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 05:31:47 UTC 2024 - 3.8K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version.go
// See the License for the specific language governing permissions and // limitations under the License. package k8sversion import ( "fmt" goversion "github.com/hashicorp/go-version" "k8s.io/apimachinery/pkg/version" "istio.io/istio/operator/pkg/util/clog" "istio.io/istio/pkg/kube" pkgVersion "istio.io/istio/pkg/version" ) const (
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 22 02:07:51 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/install_dep_version.txt
# Regression test for Issue #54908. When running a go install module@version # with --mod=readonly moduleInfo was not setting the GoVersion for the module # because the checksumOk function was failing because modfetch.GoSumFile # was not set when running outside of a module. env GOTOOLCHAIN=local
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 16:36:17 UTC 2023 - 364 bytes - Viewed (0) -
src/cmd/go/testdata/script/work_init_path.txt
cmpenv go.work $WORK/go.work.want -- go.mod -- module example go 1.18 -- dir/go.mod -- module example go 1.18 -- dir/foo/bar/go.mod -- module example go 1.18 -- $WORK/go.work.want -- go $goversion use ( . .. ./foo/bar
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 17:53:40 UTC 2023 - 571 bytes - Viewed (0) -
src/cmd/go/internal/modload/modfile.go
} } if summary.goVersion != "" && gover.Compare(summary.goVersion, gover.GoStrictVersion) >= 0 { if gover.Compare(summary.goVersion, gover.Local()) > 0 { return nil, &gover.TooNewError{What: "module " + m.String(), GoVersion: summary.goVersion} } summary.require = append(summary.require, module.Version{Path: "go", Version: summary.goVersion}) } if len(f.Retract) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 17:53:40 UTC 2023 - 26.7K bytes - Viewed (0)