Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImportRewriter ¶
type ImportRewriter interface { RewriteAstImports(f *ast.File) bool RewriteImports(filename string, source string) (bool, string, error) }
func NewExactRewriter ¶
func NewExactRewriter(rules map[string]string) ImportRewriter
func NewPrefixRewriter ¶
func NewPrefixRewriter(rules map[string]string) ImportRewriter
Click to show internal directories.
Click to hide internal directories.