- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for 23rc4 (0.05 sec)
-
src/cmd/go/internal/gover/toolchain_test.go
var fromToolchainTests = []testCase1[string, string]{ {"go1.2.3", "1.2.3"}, {"1.2.3", ""}, {"go1.2.3+bigcorp", ""}, {"go1.2.3-bigcorp", "1.2.3"}, {"go1.2.3-bigcorp more text", "1.2.3"}, {"gccgo-go1.23rc4", ""}, {"gccgo-go1.23rc4-bigdwarf", ""},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 19:18:46 UTC 2023 - 550 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_goline.txt
cat go.mod go list -f '{{.Module.GoVersion}}' stdout 1.22 # Adding a@v1.0.01 should upgrade to Go 1.23rc1. cp go.mod go.mod1 go get example.com/a@v1.0.1 stderr '^go: upgraded go 1.22 => 1.23rc1\ngo: upgraded example.com/a v1.0.0 => v1.0.1\ngo: upgraded example.com/b v1.0.0 => v1.0.1$' go list -f '{{.Module.GoVersion}}' stdout 1.23rc1 # Repeating the update with go@1.24.0 should use that Go version. cp go.mod1 go.mod
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 2.5K bytes - Viewed (0) -
src/cmd/go/internal/gover/gover.go
} // Prev returns the Go major release immediately preceding v, // or v itself if v is the first Go major release (1.0) or not a supported // Go version. // // Examples: // // Prev("1.2") = "1.1" // Prev("1.3rc4") = "1.2" func Prev(x string) string { v := gover.Parse(x) if gover.CmpInt(v.Minor, "1") <= 0 { return v.Major } return v.Major + "." + gover.DecInt(v.Minor) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 2.5K bytes - Viewed (0) -
src/cmd/go/internal/gover/gover_test.go
{"1.2", false}, // == 1.2.0 {"1", false}, // == 1.0.0 } func TestPrev(t *testing.T) { test1(t, prevTests, "Prev", Prev) } var prevTests = []testCase1[string, string]{ {"", ""}, {"0", "0"}, {"1.3rc4", "1.2"}, {"1.3.5", "1.2"}, {"1.3", "1.2"}, {"1", "1"}, {"1.99999999999999999", "1.99999999999999998"}, {"1.40000000000000000", "1.39999999999999999"}, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 3.3K bytes - Viewed (0)