Versions in this module Expand all Collapse all v0 v0.10.3 Feb 6, 2020 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) 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) NameForPackage(importPath string) string + type PkgErrors []error + func (p PkgErrors) Error() string