mirror of
https://github.com/nalgeon/redka.git
synced 2025-09-27 04:16:00 +08:00
15 lines
231 B
Go
15 lines
231 B
Go
package key
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/nalgeon/redka/internal/redis"
|
|
"github.com/nalgeon/redka/internal/testx"
|
|
)
|
|
|
|
func getRedka(tb testing.TB) redis.Redka {
|
|
tb.Helper()
|
|
db := testx.OpenDB(tb)
|
|
return redis.RedkaDB(db)
|
|
}
|