proto/goutils/proto_build/tpls/logic_fusen_handler.tpl
huangsimin@fusen.cn c5df2b6478 修改为纯grpc
2023-12-06 17:13:51 +08:00

10 lines
263 B
Smarty

package {{.PackageName}}
import (
"context"
"{{.ProjectName}}/gen/go/service"
)
func (l *{{.StructName}}) {{.MethodName}}Logic({{range $index, $param := .Params}}{{if $index}}, {{end}}{{$param}}{{end}}) (resp {{.MethodReturn}},err error) {
return resp, err
}