proto/goutils/proto_build/tpls/logic_fusen_handler.tpl

10 lines
263 B
Smarty
Raw Normal View History

2023-11-27 09:36:02 +00:00
package {{.PackageName}}
import (
2023-12-06 09:13:51 +00:00
"context"
2023-11-27 09:36:02 +00:00
"{{.ProjectName}}/gen/go/service"
)
2023-12-06 09:13:51 +00:00
func (l *{{.StructName}}) {{.MethodName}}Logic({{range $index, $param := .Params}}{{if $index}}, {{end}}{{$param}}{{end}}) (resp {{.MethodReturn}},err error) {
return resp, err
}