You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
568 B

package dao
import (
"context"
"go-common/app/service/main/vipinfo/model"
)
// 注意 -check_null_code=$!=nil 生成的代码内容要去掉!
//go:generate $GOPATH/src/go-common/app/tool/cache/gen
type _cache interface {
// cache: -batch=50 -max_group=10 -batch_err=continue -nullcache=&model.VipUserInfo{VipType:0} -check_null_code=$!=nil
Infos(c context.Context, keys []int64) (map[int64]*model.VipUserInfo, error)
// cache: -nullcache=&model.VipUserInfo{VipType:0} -check_null_code=$!=nil
Info(c context.Context, key int64) (*model.VipUserInfo, error)
}