Documentation ¶
Index ¶
- func AnalysisImport(astPkgs *ast.Package) map[string]string
- func EvalSymlinks(modPkg, modFile, objPkg string) string
- func GetAstPkg(objPkg, objFile string) (*ast.Package, bool)
- func GetImportPkg(i string) string
- func GetModel(n int) (string, string, bool)
- func GetObjFunMp(astPkg *ast.Package, objName string) map[string]*ast.FuncDecl
- func NewAnyStruct(modPkg, modFile string) *anyStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnalysisImport ¶
AnalysisImport 分析整合import相关信息
func EvalSymlinks ¶
EvalSymlinks Return to relative path . 通过module 游标返回包相对路径
func GetAstPkg ¶
GetAstPkg Parsing source file ast structure (with main restriction).解析源文件ast结构(带 main 限制)
func GetObjFunMp ¶
GetObjFunMp find all exported func of sturct objName GetObjFunMp 类中的所有导出函数
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.