package
0.0.0-20170203152245-5ea1423555e3
Repository: https://github.com/mh-cbon/export-funcmap.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddImportDecl creates and add an import statement to the file.
Export exports symbolic and public idents information of targets.
GetImportDecl returns the ast node of the import declaration.
GetProgram creates a new Program of a list of packages.
GetVarDecl returns the ast node of the variable declaration.
InjectAliasedImportPaths injects given import path into the provided decl.
InjectImportPaths injects given import paths into the provided decl.
MustGetImportDecl returns the ast node of the import declaration.
NewImportDecl creates a new import(...) declaration.
NewImportSpec creates a new import statement.
NewPkg creates a new go package.
PrintAstFile prints an ast to given writer.
PublicIdents exports a map of pkg import path and function ident for every values of the target funcMap defined as an ident or a selector expression.
Symbolic a symbolic map of given target package and ther idents.

# Variables

EnableCache set cache status.

# Structs

Target defines a target package and idents to export.

# Type aliases

Targets is an alias of []Target.