Documentation
¶
Overview ¶
Package types contains logic for parsing type definitions from ast packages and filtering those types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dir ¶
type Dir struct {
// contains filtered or unexported fields
}
A Dir is a type that represents a directory containing Go packages.
func (Dir) ExportedTypes ¶
ExportedTypes returns all *ast.TypeSpecs found by d. Interface types with anonymous interface types will be flattened, for ease of mocking by other logic.
func (Dir) Filter ¶
Filter filters d's types, removing all types that don't match any of the passed in matchers.
func (Dir) TestPackage ¶
TestPackage returns the name of d's test package. It may be the same as d.Package().
Click to show internal directories.
Click to hide internal directories.