go-redis
Redis Go client with support for Redis Cluster, Sentinel, Streams, and OpenTelemetry pipelines.
Why consider go-redis?
go-redis is an open-source, type-safe Redis client for Go written by Vladimir Mihailenco. Supporting standalone instances, Redis Cluster, and Sentinel failover, go-redis features pipelining, transactions, pub/sub channels, and native OpenTelemetry tracing hooks.
Learn go-redis by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of go-redis
go-redis interacts with Redis Key-Value stores and pub/sub message streams in Go services.
Quickstart
go get github.com/redis/go-redis/v9import "github.com/redis/go-redis/v9"rdb := redis.NewClient(&redis.Options{ Addr: "localhost:6379" })err := rdb.Set(ctx, "session:101", "active", 0).Err()go-redis is licensed under the BSD 2-Clause License.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.