Documentation ¶ Index ¶ Constants func CreateCommand() *cli.Command func TimeStat(processName string) func() type Fn func (f Fn) Gen(pkgName string) string type FnKind type Pkg func ScanDir(dir, moduleName, moduleDir string) ([]*Pkg, error) Constants ¶ View Source const InjectTag = "gone" Variables ¶ This section is empty. Functions ¶ func CreateCommand ¶ added in v1.0.0 func CreateCommand() *cli.Command func TimeStat ¶ func TimeStat(processName string) func() Types ¶ type Fn ¶ type Fn struct { Name string Kind FnKind } func (Fn) Gen ¶ func (f Fn) Gen(pkgName string) string type FnKind ¶ type FnKind int const ( PriestFn FnKind = iota NewGonerFn ) type Pkg ¶ type Pkg struct { ID string //包的绝对路径 Name string PkgPath string FuncList []Fn } func ScanDir ¶ func ScanDir(dir, moduleName, moduleDir string) ([]*Pkg, error) Source Files ¶ View all Source files action.go fileparse.go loader.go stat.go watch.go Click to show internal directories. Click to hide internal directories.