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.
 
 
 

19 lines
519 B

package dao
import (
"context"
"go-common/app/interface/main/esports/model"
)
//go:generate $GOPATH/src/go-common/app/tool/cache/gen
type _cache interface {
// cache
EpContests(c context.Context, ids []int64) (map[int64]*model.Contest, error)
// cache
EpSeasons(c context.Context, ids []int64) (map[int64]*model.Season, error)
// cache
EpTeams(c context.Context, ids []int64) (map[int64]*model.Team, error)
// cache
EpContestsData(c context.Context, ids []int64) (map[int64][]*model.ContestsData, error)
}