Redigo is a Go client for Redis and Valkey databases.
Redigo solves the problem of communicating with Redis from Go applications by providing a straightforward client library. It uses a Print-like API that mirrors Go's standard library conventions, making it intuitive for Go developers to execute Redis commands. The library handles the complexity of connection management through built-in connection pooling, supports pipelining for batch operations including pipelined transactions, and includes a Script helper type that optimizes Lua script execution by attempting EVALSHA before falling back to full script transmission. It also provides Publish/Subscribe capabilities and helper functions for parsing command replies.
Redigo suits Go projects that need direct Redis access without external dependencies beyond the Go standard library. It is appropriate for applications requiring straightforward command execution, connection pooling, and pipelining. The tool works well for teams already familiar with Go idioms and seeking a minimal, dependency-free Redis client. For projects needing Redis Cluster support or Redis Sentinel integration, the README identifies separate libraries built on top of Redigo that add these capabilities.
The project maintains a stable, minimal codebase with no external dependencies. Development activity shows selective engagement with contributions and issues, indicating a mature tool that prioritizes stability over rapid feature expansion. The project accepts community contributions through a defined process while maintaining careful stewardship of the core library.