duongnln96 / go-redis-practice

Play with Redis in Golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-redis-practice

Play with Redis in Golang

Reference

[1] Redis in Action - 2013 - Manning

[2] Redis in Action Github

[3] Redis Pub/Sub underhood

Running

Using Docker

  • check the config messages in the config/config.go file first, you may need to set your config for redis
  • run docker-compose up -d in the directory.
  • use docker exec -it go-redis-practice go test ./chap_0*/redis_test.go -v to run the test, use number 1 through 8 to replace the * depending on the Chapter's examples you want to run.

About

Play with Redis in Golang


Languages

Language:Go 99.1%Language:Dockerfile 0.9%