Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
redis
✓ cloud.google.com/go/redis/apiv1
Create a Cloud Redis client
package main
import (
"context"
"fmt"
redis "cloud.google.com/go/redis/apiv1"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
client, err := redis.NewCloudRedisClient(ctx)
if err != nil {
panic(err)
}
defer client.Close()
fmt.Println(client)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.23.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.