Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultOptions ¶
func DefaultOptions() options
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator holds the state of the analysis. Primarily used to buffer the output for format.Source.
func NewGenerator ¶
func (*Generator) ParsePackage ¶
parsePackage recursive analyzes the package constructed from the patterns and tags. parsePackage exits if there is an error.
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithPatterns ¶
func WithRecursive ¶
Click to show internal directories.
Click to hide internal directories.