https://github.com/redis/go-redis Then install go-redis/v9: go get github.com/redis/go-redis/v9 Quickstart import ( "context" "fmt" "github.com/redis/go-redis/v9" )