完善序列化的格式
This commit is contained in:
parent
72c2c7b221
commit
3facd54499
|
@ -10,6 +10,7 @@ import (
|
|||
{{if eq .MethodType "rpc"}}
|
||||
|
||||
func (l *{{.StructName}}) {{.MethodName}}Logic({{range $index, $param := .Params}}{{if $index}}, {{end}}{{$param}}{{end}}) (resp {{.MethodReturn}},err error) {
|
||||
resp = &{{.MethodResponse}}{}
|
||||
return resp, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user