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 %} }