mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
Try to fix package level example.
This commit is contained in:
parent
db0cb86282
commit
de7a9d3142
@ -146,7 +146,7 @@ func ExamplePubSub() {
|
||||
// &{mychannel hello} <nil>
|
||||
}
|
||||
|
||||
func Example_CustomCommand() {
|
||||
func Example_customCommand() {
|
||||
Get := func(client *redis.Client, key string) *redis.StringCmd {
|
||||
cmd := redis.NewStringCmd("GET", key)
|
||||
client.Process(cmd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user