niki/repository/redis/redis_otp/db.go

12 lines
183 B
Go
Raw Permalink 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}
}