tracing

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2020 License: MIT Imports: 11 Imported by: 0

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

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL