mirror of https://github.com/go-redis/redis.git
readme: Don't use shortcuts.
This commit is contained in:
parent
e7eb2a03f4
commit
051049ada6
|
@ -43,7 +43,7 @@ Example 1:
|
||||||
import "github.com/vmihailenco/redis"
|
import "github.com/vmihailenco/redis"
|
||||||
|
|
||||||
|
|
||||||
address := ":6379"
|
address := "localhost:6379"
|
||||||
password := "secret"
|
password := "secret"
|
||||||
db := 0
|
db := 0
|
||||||
redisClient := redis.NewTCPClient(address, password, db)
|
redisClient := redis.NewTCPClient(address, password, db)
|
||||||
|
|
Loading…
Reference in New Issue