Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layout ¶ added in v0.2.0
type Layout interface { Enter(path string, last bool) Print(line string, first, last bool) Leave(path string, last bool) }
Layout ...
type PackageLoaderFunc ¶ added in v0.2.0
PackageLoaderFunc returns the Go packages named by the given patterns.
type Packagist ¶ added in v0.2.0
type Packagist struct { PackageLoaderFunc PackageLoaderFunc PathFilterFunc PathFilterFunc IncludeUnexported bool IncludeTestFiles bool // contains filtered or unexported fields }
Packagist ...
type PathFilterFunc ¶ added in v0.2.0
PathFilterFunc is a simple string filtering/matching function.
func CreatePathFilterFunc ¶ added in v0.2.0
func CreatePathFilterFunc(list []string) PathFilterFunc
CreatePathFilterFunc gets a list of text patterns which are converted to regular expressions. The result of this function is a PathFilterFunc which can be used as a filter for matching patterns against strings.
type PathReplaceFunc ¶ added in v0.2.0
PathReplaceFunc is a simple string replacement function.
func CreatePathReplaceFunc ¶ added in v0.2.0
func CreatePathReplaceFunc(list []string) PathReplaceFunc
CreatePathReplaceFunc ...
type QualifierFunc ¶ added in v0.2.0
QualifierFunc returns the type qualifier (path) of a package.
type TreeWalker ¶ added in v0.2.0
type TreeWalker struct { Layout // contains filtered or unexported fields }
TreeWalker ...
Click to show internal directories.
Click to hide internal directories.