go/pkg/mod/golang.org/x/[email protected]/internal/gocommand/version.go

// GoVersion checks the go version by running "go list" with modules off.
// It returns the X in Go 1.X.
func GoVersion(ctx context.Context, inv Invocation, r *Runner) (int, error) {}