forked from p93542168/wheat-cache
feat(dao): add dao template
This commit is contained in:
parent
14c52da1ed
commit
dab21a4ebc
|
@ -0,0 +1,12 @@
|
|||
// Code generated by gen-struct. DO NOT EDIT.
|
||||
// make gen-service generated
|
||||
|
||||
package dao
|
||||
|
||||
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)
|
||||
{%- endfor %}
|
||||
}
|
Loading…
Reference in New Issue