MCPcopy
hub / github.com/flipped-aurora/gin-vue-admin / PluginGen

Struct PluginGen

server/utils/ast/plugin_gen.go:9–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type PluginGen struct {
10 Base
11 Type Type // 类型
12 Path string // 文件路径
13 ImportPath string // 导包路径
14 RelativePath string // 相对路径
15 StructName string // 结构体名称
16 PackageName string // 包名
17 IsNew bool // 是否使用new关键字
18}
19
20func (a *PluginGen) Parse(filename string, writer io.Writer) (file *ast.File, err error) {
21 if filename == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected