From 511a66bd98dc7e95c2a523dc0c93e144c7423bca Mon Sep 17 00:00:00 2001 From: bandl <1658002533@qq.com> Date: Wed, 27 Oct 2021 23:15:48 +0800 Subject: [PATCH] feat(dao): add interface --- storage/temp/dao.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/temp/dao.template b/storage/temp/dao.template index e0f63a4..4adde48 100644 --- a/storage/temp/dao.template +++ b/storage/temp/dao.template @@ -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 %} }