Versions in this module Expand all Collapse all v1 v1.0.1 Oct 30, 2017 Changes in this version + var ErrSkipDir = errors.New("Directory does not match build type, skip") + type BuildFunctions struct + Dir string + Main BuildList + Subs map[string]BuildList + func BuildPackage(vlog metrics.Metrics, events metrics.Metrics, dir string, cmdDir string, ...) (BuildFunctions, error) + type BuildList struct + BasePkgPath string + BinaryName string + CleanBinaryName string + Desc string + ExecBinaryName string + FromPackage string + FromPackageName string + Functions []internals.PackageFunctions + Hash string + List []gen.WriteDirective + Path string + PkgPath string + RelPath string + func BuildPackageForDir(vlog metrics.Metrics, events metrics.Metrics, dir string, cmd string, ...) (BuildList, error) + func (pn BuildList) Default() []internals.Function + func (pn BuildList) HasFauxImports() bool + func (pn BuildList) HasGoogleImports() bool + type FunctionList struct + Dir string + Main PackageFunctionList + Subs map[string]PackageFunctionList + func ListFunctions(vlog, events metrics.Metrics, targetDir string, ctx build.Context) (FunctionList, error) + type HashList struct + Hash string + Package string + Packages map[string]string + Path string + RelPath string + func HashPackages(vlog, events metrics.Metrics, dir string, ctx build.Context) (HashList, error) + type PackageFunctionList struct + Desc string + Hash string + List []internals.PackageFunctions + Name string + Package string + Path string + RelPath string + func ListFunctionsForDir(vlog, events metrics.Metrics, dir string, ctx build.Context) (PackageFunctionList, error) + type PackageHashList struct + Dir string + Main HashList + Subs map[string]HashList + SuperHash string + func ListPackageHash(vlog, events metrics.Metrics, targetDir string, ctx build.Context) (PackageHashList, error)