mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Try to fix package level example.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user