gf/contrib/nosql/redis
2023-08-03 20:01:36 +08:00
..
testdata/redis feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
go.mod Feat:upgrade redis v9 (#2825) 2023-08-03 20:01:36 +08:00
go.sum Feat:upgrade redis v9 (#2825) 2023-08-03 20:01:36 +08:00
README.MD feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_conn.go Feat:upgrade redis v9 (#2825) 2023-08-03 20:01:36 +08:00
redis_func.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_group_generic.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_group_hash.go version v2.3.0 (#2392) 2023-01-11 19:19:41 +08:00
redis_group_list.go fix goreport for gofmt (#2523) 2023-03-17 17:54:14 +08:00
redis_group_pubsub.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_group_script.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_group_set.go fix goreport for gofmt (#2523) 2023-03-17 17:54:14 +08:00
redis_group_sorted_set.go version v2.3.0 (#2392) 2023-01-11 19:19:41 +08:00
redis_group_string.go fix goreport for gofmt (#2523) 2023-03-17 17:54:14 +08:00
redis_test.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_z_func_test.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_z_group_generic_test.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_z_group_hash_test.go version v2.3.0 (#2392) 2023-01-11 19:19:41 +08:00
redis_z_group_list_test.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_z_group_pubsub_test.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_z_group_script_test.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_z_group_set_test.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_z_group_sorted_set_test.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_z_group_string_test.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_z_unit_config_test.go add redis-config Auth Username (#2684) 2023-07-06 20:58:31 +08:00
redis_z_unit_conn_sentinel_test.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_z_unit_conn_test.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_z_unit_gcache_adapter_test.go fix issue #2331 (#2432) 2023-02-08 19:07:05 +08:00
redis_z_unit_gins_redis_test.go feature/v2.3.0 (#2296) 2023-01-09 14:43:10 +08:00
redis_z_unit_test.go Feat:upgrade redis v9 (#2825) 2023-08-03 20:01:36 +08:00
redis.go Feat:upgrade redis v9 (#2825) 2023-08-03 20:01:36 +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.
}