Versions in this module Expand all Collapse all v2 v2.2.2 Mar 11, 2020 v2.2.1 Mar 24, 2020 Changes in this version + var DefaultIgnoredFolders = []string + func FromArgs(args []string, fn func(Boxes) error) error + func IsProspect(path string, ignore ...string) (status bool) + type Box struct + AbsPath string + Name string + PWD string + Package string + PackageDir string + Path string + func NewBox(name string, path string) *Box + func (b Box) String() string + type Boxes []*Box + type File struct + AbsPath string + Path string + func NewFile(path string, r io.Reader) *File + func (f *File) String() string + func (f File) Name() string + func (s *File) Write(p []byte) (int, error) + type Parser struct + IgnoreImports bool + Prospects []*File + func New(prospects ...*File) *Parser + func NewFromRoots(roots []string, opts *RootsOptions) (*Parser, error) + func (p *Parser) Run() (Boxes, error) + type RootsOptions struct + IgnoreImports bool + Ignores []string + func (r RootsOptions) String() string + type Visitor struct + File genny.File + Package string + func NewVisitor(f *File) *Visitor + func (v *Visitor) Run() (Boxes, error) + func (v *Visitor) Visit(node ast.Node) ast.Visitor