diff --git a/docs/content/reference/apq.md b/docs/content/reference/apq.md index 2be30fa2429..b5cd6fc12c9 100644 --- a/docs/content/reference/apq.md +++ b/docs/content/reference/apq.md @@ -38,7 +38,7 @@ type Cache struct { const apqPrefix = "apq:" -func NewCache(redisAddress string, password string, ttl time.Duration) (*Cache, error) { +func NewCache(redisAddress string, ttl time.Duration) (*Cache, error) { client := redis.NewClient(&redis.Options{ Addr: redisAddress, })