February 2020
Intermediate to advanced
404 pages
8h 42m
English
There is a widely used type-safe Go client that's used to talk to Redis servers called go-redis. We can use it to connect to a Redis server by creating a client similar to RabbitMQ. Let's look at the steps for doing this:
mkdir -p $GOPATH/src/github.com/git-user/chapter9/redisIntro
dep initdep ensure --add "github.com/go-redis/redis"
touch $GOPATH/src/github.com/git-user/chapter9/redisIntro/main.go ...
Read now
Unlock full access