Versions in this module Expand all Collapse all v0 v0.13.4 Dec 14, 2023 Changes in this version + var PackagesAddedToStdlib = map[string]struct + func IsSrcDir(fi os.FileInfo) bool + func IterativeScan(path string) ([]string, []string, error) + type DefaultMissingPackageHandler struct + Gopath []string + Missing []string + Prefix string + func (d *DefaultMissingPackageHandler) InVendor(pkg string, addTest bool) error + func (d *DefaultMissingPackageHandler) NotFound(pkg string, addTest bool) (bool, error) + func (d *DefaultMissingPackageHandler) OnGopath(pkg string, addTest bool) (bool, error) + func (d *DefaultMissingPackageHandler) PkgPath(pkg string) string + type DefaultVersionHandler struct + func (d *DefaultVersionHandler) Process(pkg string) error + func (d *DefaultVersionHandler) SetVersion(pkg string, testDep bool) error + type MissingPackageHandler interface + InVendor func(pkg string, addTest bool) error + NotFound func(pkg string, addTest bool) (bool, error) + OnGopath func(pkg string, addTest bool) (bool, error) + PkgPath func(pkg string) string + type PkgInfo struct + Loc PkgLoc + Name string + Path string + Vendored bool + type PkgLoc uint8 + const LocAppengine + const LocCgo + const LocGopath + const LocGoroot + const LocLocal + const LocRelative + const LocUnknown + const LocVendor + type Resolver struct + BuildContext *util.BuildCtxt + Config *cfg.Config + Handler MissingPackageHandler + ResolveAllFiles bool + ResolveTest bool + VendorDir string + VersionHandler VersionHandler + func NewResolver(basedir string) (*Resolver, error) + func (r *Resolver) FindPkg(name string) *PkgInfo + func (r *Resolver) Resolve(pkg, basepath string) ([]string, error) + func (r *Resolver) ResolveAll(deps []*cfg.Dependency, addTest bool) ([]string, error) + func (r *Resolver) ResolveLocal(deep bool) ([]string, []string, error) + func (r *Resolver) Stripv(str string) string + type VersionHandler interface + Process func(pkg string) error + SetVersion func(pkg string, testDep bool) error