Versions in this module Expand all Collapse all v0 v0.4.1 Aug 2, 2022 Changes in this version + const MaxFileSize + func Load(spec *PackageSpec) (*Package, Stats, error) + type Package struct + Errors []packages.Error + Fset *token.FileSet + Syntax []*ast.File + Types *types.Package + TypesInfo *types.Info + type PackageSpec struct + CompiledGoFiles []string + Config config.Config + Errors []packages.Error + ExportFile string + GoFiles []string + Hash cache.ActionID + ID string + Imports map[string]*PackageSpec + Module *packages.Module + Name string + OtherFiles []string + PkgPath string + TypesSizes types.Sizes + func Graph(c *cache.Cache, cfg *packages.Config, patterns ...string) ([]*PackageSpec, error) + func (spec *PackageSpec) String() string + type Stats struct + Export map[*PackageSpec]time.Duration + Source time.Duration