Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeDeinstrumenter ¶
type CodeDeinstrumenter interface { DeinstrumentFile(fset *token.FileSet, file *ast.File, out io.Writer) error DeinstrumentPackage(fset *token.FileSet, pkg *ast.Package) error DeinstrumentDirectory(path string) error }
func NewCodeDeinstrumenter ¶
func NewCodeDeinstrumenter() CodeDeinstrumenter
type CodeInstrumenter ¶
type CodeInstrumenter interface { InstrumentFile(fset *token.FileSet, file *ast.File, out io.Writer) error InstrumentPackage(fset *token.FileSet, pkg *ast.Package) error InstrumentDirectory(path string) error }
func NewCodeInstrumenter ¶
func NewCodeInstrumenter() CodeInstrumenter
type ImportsGroomer ¶
type ImportsGroomer interface { RemoveUnusedImportFromFile(fset *token.FileSet, file *ast.File, out io.Writer, importToRemove string) error RemoveUnusedImportFromPackage(fset *token.FileSet, pkg *ast.Package, importToRemove string) error RemoveUnusedImportFromDirectory(path string, importToRemove string) error }
func NewImportsGroomer ¶
func NewImportsGroomer() ImportsGroomer
Source Files ¶
Click to show internal directories.
Click to hide internal directories.