{
  "id": "go-redis",
  "title": "Go client for Redis",
  "url": "https://redis.io/docs/latest/integrate/go-redis/",
  "summary": "Learn how to build with Redis and Go",
  "tags": [
    "docs",
    "integrate",
    "oss",
    "rs",
    "rc"
  ],
  "last_updated": "2026-04-01T08:10:08-05:00",
  "children": [],
  "page_type": "content",
  "content_hash": "168dd04a88a39fe6b611c432bbb42a364ded7403f4fd1cc4aaf6edc829482c27",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Connect your Go application to a Redis database using the go-redis client library."
    },
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "go-redis is a type-safe, Redis client library for Go that supports Redis 6.0+ features including Redis Cluster, Redis Sentinel, and Redis streams. It provides a clean, idiomatic Go API for interacting with Redis."
    },
    {
      "id": "key-features",
      "title": "Key Features",
      "role": "content",
      "text": "- **Type Safety**: Strongly typed commands and responses\n- **Redis Cluster Support**: Built-in support for Redis Cluster deployments\n- **Redis Sentinel**: Automatic failover with Redis Sentinel\n- **Pipelining**: Efficient command batching for improved performance\n- **Pub/Sub**: Real-time messaging with Redis Pub/Sub\n- **Streams**: Support for Redis Streams data structure\n- **Connection Pooling**: Automatic connection management\n- **Context Support**: Full context.Context integration for cancellation and timeouts"
    },
    {
      "id": "getting-started",
      "title": "Getting Started",
      "role": "setup",
      "text": "Refer to the complete [Go guide]() to install, connect, and use go-redis with detailed examples and best practices."
    }
  ],
  "examples": []
}
