forked from ebhomengo/niki
1
0
Fork 0
niki/repository/redis/redis_otp/db.go

12 lines
183 B
Go
Raw Normal View History

package redisotp
import "git.gocasts.ir/ebhomengo/niki/adapter/redis"
type DB struct {
adapter redis.Adapter
}
func New(adapter redis.Adapter) DB {
return DB{adapter: adapter}
}