Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintAstInfo ¶
print go file ast detail
Types ¶
type AnalysisResult ¶
type AnalysisResult struct { PkgName string RecvMethods map[string][]MethodInfo // key RecvName Funcs []FuncInfo }
func ScanFuncDeclByComment ¶
func ScanFuncDeclByComment(fileName, src, targetComment string) *AnalysisResult
find func and method in go file by target comment @see github.com\astaxie\beego\parser.go parserPkg @see github.com\astaxie\beego\parser.go parserComments
Click to show internal directories.
Click to hide internal directories.