···9)
1011// requiredGoVersion reads the Go version from the root go.mod file.
12-// Returns a version string like "1.25.4" for use in download URLs.
13func requiredGoVersion() (string, error) {
14 _, thisFile, _, _ := runtime.Caller(0)
15 rootMod := filepath.Join(filepath.Dir(thisFile), "..", "..", "go.mod")
···9)
1011// requiredGoVersion reads the Go version from the root go.mod file.
12+// Returns a version string like "1.25.7" for use in download URLs.
13func requiredGoVersion() (string, error) {
14 _, thisFile, _, _ := runtime.Caller(0)
15 rootMod := filepath.Join(filepath.Dir(thisFile), "..", "..", "go.mod")