// 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) { … }
// 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) { … }