Versions in this module Expand all Collapse all v1 v1.0.0 Aug 29, 2020 Changes in this version + type CodeDeinstrumenter interface + DeinstrumentDirectory func(path string) error + DeinstrumentFile func(fset *token.FileSet, file *ast.File, out io.Writer) error + DeinstrumentPackage func(fset *token.FileSet, pkg *ast.Package) error + func NewCodeDeinstrumenter() CodeDeinstrumenter + type CodeInstrumenter interface + InstrumentDirectory func(path string) error + InstrumentFile func(fset *token.FileSet, file *ast.File, out io.Writer) error + InstrumentPackage func(fset *token.FileSet, pkg *ast.Package) error + func NewCodeInstrumenter() CodeInstrumenter + type ImportsGroomer interface + RemoveUnusedImportFromDirectory func(path string, importToRemove string) error + RemoveUnusedImportFromFile func(fset *token.FileSet, file *ast.File, out io.Writer, importToRemove string) error + RemoveUnusedImportFromPackage func(fset *token.FileSet, pkg *ast.Package, importToRemove string) error + func NewImportsGroomer() ImportsGroomer