mirror of
https://github.com/gogf/gf.git
synced 2025-04-05 03:05:05 +08:00
redis
GoFrame gredis.Adapter
implements using go-redis
.
Installation
go get -u github.com/gogf/gf/contrib/nosql/redis/v2
Commonly imported at top of main.go
:
package main
import (
_ "github.com/gogf/gf/contrib/nosql/redis/v2"
// Other imported packages.
)
func main() {
// Main logics.
}