- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for dlToGo (0.11 sec)
-
src/cmd/go/internal/modfetch/toolchain.go
func goToDL(v, goos, goarch string) string { return "v0.0.1-go" + v + ".linux-amd64" } // dlToGo converts a DL module version like "v0.0.1-go1.2.linux-amd64" to a Go version like "1.2". func dlToGo(v string) (string, bool) { // v0.0.1-go1.19.7.windows-amd64 // cut v0.0.1- _, v, ok := strings.Cut(v, "-") if !ok { return "", false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 13 16:44:24 UTC 2023 - 5.6K bytes - Viewed (0)