go/src/cmd/vendor/golang.org/x/tools/internal/versions/types.go

// GoVersion returns the Go version of the type package.
// It returns zero if no version can be determined.
func GoVersion(pkg *types.Package) string {}