// Code generated by gen-struct. DO NOT EDIT. // make gen-struct generated package structure import "gitee.com/timedb/wheatCache/pkg/proto" type KeyBaseInterface interface { SizeByte() int64 // RollBack TODO 事务相关, V2 实现 RollBack() error // Begin 事务相关, V2 实现 Begin() error // Comment 事务相关, V2 实现 Comment() error Encode() ([]byte, error) } {% for dict_item in Data %} {% for key, value in dict_item.items() %} type {{key}}Interface interface{ KeyBaseInterface {% for val in value -%} {{val}}(*proto.{{val}}Request) (*proto.{{val}}Response, error) {% endfor %} } {% endfor -%} {%- endfor %}