priest

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL