Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugModifier ¶
type DebugModifier struct {
// contains filtered or unexported fields
}
DebugModifier is used for debugging an ast.Node. It implements the Pre and Post astutil.ApplyFunc functions.
func NewDebug ¶
func NewDebug(depth int, logger *log.ColorfulLogger) *DebugModifier
NewDebug creates a new debug modifier.
type GenericModifier ¶
type GenericModifier struct {
// contains filtered or unexported fields
}
GenericModifier is used for decorating a generic package. It implements the Pre and Post astutil.ApplyFunc functions.
func NewGeneric ¶
func NewGeneric(depth int, logger *log.ColorfulLogger) *GenericModifier
NewGeneric creates a new generic modifier.
type MainModifier ¶
type MainModifier struct {
// contains filtered or unexported fields
}
MainModifier is used for decorating the main package. It implements the Pre and Post astutil.ApplyFunc functions.
func NewMain ¶
func NewMain(depth int, logger *log.ColorfulLogger) *MainModifier
NewMain creates a new main modifier.
Click to show internal directories.
Click to hide internal directories.