feat(dao): add interface

This commit is contained in:
bandl 2021-10-27 23:15:48 +08:00
parent 5642a00f61
commit 511a66bd98
1 changed files with 1 additions and 1 deletions

View File

@ -7,6 +7,6 @@ import "gitee.com/timedb/wheatCache/pkg/proto"
type Interface interface {
{%for key in keys %}
{{key.method}}({% for req in key.option %} {{req[1]}}, {% endfor %}) ({% for req in key.ret %} {{req[1]}}, {% endfor %}error)
{{key.method}}({% for req in key.option %} {{req[1]}}, {% endfor %}) (*proto.{{key.method}}Response, error)
{%- endfor %}
}