Versions in this module Expand all Collapse all v0 v0.11.1 Jul 21, 2016 v0.11.0 Jul 5, 2016 Changes in this version + func DeleteUnused(conf *cfg.Config) error + func IsSrcDir(fi os.FileInfo) bool + func IterativeScan(path string) ([]string, []string, error) + type DefaultMissingPackageHandler struct + Gopath []string + Missing []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) + 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) + 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