wheat-cache/storage/dao/dao.go

16 lines
188 B
Go
Raw Normal View History

2021-10-05 16:40:29 +08:00
package dao
import (
"gitee.com/timedb/wheatCache/pkg/lru"
)
type Dao struct {
lru lru.CacheInterface
}
2021-10-27 21:38:01 +08:00
func NewDao(lru lru.CacheInterface) Interface {
2021-10-05 16:40:29 +08:00
return &Dao{
lru: lru,
}
}