mirror of
https://gitee.com/johng/gf.git
synced 2024-12-02 20:28:17 +08:00
.. | ||
testdata/redis | ||
go.mod | ||
go.sum | ||
README.MD | ||
redis_conn.go | ||
redis_func.go | ||
redis_group_generic.go | ||
redis_group_hash.go | ||
redis_group_list.go | ||
redis_group_pubsub.go | ||
redis_group_script.go | ||
redis_group_set.go | ||
redis_group_sorted_set.go | ||
redis_group_string.go | ||
redis_test.go | ||
redis_z_func_test.go | ||
redis_z_group_generic_test.go | ||
redis_z_group_hash_test.go | ||
redis_z_group_list_test.go | ||
redis_z_group_pubsub_test.go | ||
redis_z_group_script_test.go | ||
redis_z_group_set_test.go | ||
redis_z_group_sorted_set_test.go | ||
redis_z_group_string_test.go | ||
redis_z_unit_config_test.go | ||
redis_z_unit_conn_sentinel_test.go | ||
redis_z_unit_conn_test.go | ||
redis_z_unit_gcache_adapter_test.go | ||
redis_z_unit_gins_redis_test.go | ||
redis_z_unit_test.go | ||
redis.go |
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.
}