Versions in this module Expand all Collapse all v0 v0.0.1 Apr 16, 2021 Changes in this version + type Analyzer interface + ScanFuncDecl func(file *ast.File, targetAnnotation string) PackageInfo + ScanMethodByClass func(object interface{}, targetAnnotation string) PackageInfo + func NewAnalyzer() Analyzer + type FuncInfo struct + FuncName string + HasAnnotation map[string]bool + PkgName string + func (f *FuncInfo) SetAnnotation(annotation string) + type MethodInfo struct + MethodName string + PkgName string + RecvName string + func (m *MethodInfo) SetAnnotation(annotation string) + func (m MethodInfo) HasAnnotation(methodLocation string) bool + type ObjectAnalyzer interface + AnalysisObjectToAstFiles func(object interface{}) ([]*ast.File, error) + var SingletonObjectAnalyzer ObjectAnalyzer + func GetSingletonObjectAnalyzerInstance() ObjectAnalyzer + type PackageInfo interface + GetFuncs func() map[string]*FuncInfo + GetPackageName func() string + GetRecv func(recvName string) *RecvInfo + GetRecvNames func() []string + type RecvInfo struct + Methods map[string]*MethodInfo + PkgName string + RecvName string + func (r *RecvInfo) SetMethod(methodName string, annotations ...string)