fix: route issues
This commit is contained in:
9
pkg/ast/route/manual.go.tpl
Normal file
9
pkg/ast/route/manual.go.tpl
Normal file
@@ -0,0 +1,9 @@
|
||||
package {{.PackageName}}
|
||||
|
||||
func (r *Routes) Path() string {
|
||||
return "/{{.PackageName}}"
|
||||
}
|
||||
|
||||
func (r *Routes) Middlewares() []any{
|
||||
return []any{}
|
||||
}
|
||||
Reference in New Issue
Block a user