Versions in this module Expand all Collapse all v1 v1.0.1 Feb 1, 2023 Changes in this version + func CompatibleTypes(expected types.Type, actual types.Type) error + func ImportPathForDir(dir string) (res string) + func NameForDir(dir string) string + func NormalizeVendor(pkg string) string + func PkgAndType(name string) (string, string) + func QualifyPackagePath(importPath string) string + func SanitizePackageName(pkg string) string + type Packages struct + func (p *Packages) Count() int + func (p *Packages) Errors() PkgErrors + func (p *Packages) Evict(importPath string) + func (p *Packages) Load(importPath string) *packages.Package + func (p *Packages) LoadAll(importPaths ...string) []*packages.Package + func (p *Packages) LoadWithTypes(importPath string) *packages.Package + func (p *Packages) ModTidy() error + func (p *Packages) NameForPackage(importPath string) string + func (p *Packages) ReloadAll(importPaths ...string) []*packages.Package + type PkgErrors []error + func (p PkgErrors) Error() string