feat(dao): add interface
This commit is contained in:
parent
5642a00f61
commit
511a66bd98
|
@ -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 %}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue