Versions in this module Expand all Collapse all v0 v0.2.33 Apr 25, 2024 Changes in this version + func CreateImport(file *ast.File, packageName ...string) + func DcodeJson(dir string) + func DcodeRouter(router, controllerDir string) bool + func GetGoModName() string + type ControllerInfo struct + ControllerName string + Funcs []FuncList + PackageName string + Path string + func DcodeController(controllerDir string) []ControllerInfo + type DCodeController struct + ControllerName string + PackageName string + func (c *DCodeController) Finish() + func (c *DCodeController) GetFuncList() []FuncList + func (c *DCodeController) Visit(node ast.Node) ast.Visitor + type DCodeJson struct + func (c *DCodeJson) Finish() + func (c *DCodeJson) Visit(node ast.Node) ast.Visitor + type DCodeRouter struct + func (c *DCodeRouter) Finish() + func (c *DCodeRouter) Visit(node ast.Node) ast.Visitor + type FuncList struct + Controller string + Method string + MethodName string