diff --git a/README.md b/README.md index 2afac92..521f1bd 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ idle for a configurable duration. that have not been used for `deleteAfter`; active keys are kept alive. Stop it with `Close()`. - **Type-safe & generic** — `Storage[K, V]` and `BucketLimiter[K]` use Go - generics (Go 1.25+). + generics (Go 1.26+). - **Extensible** — implement the `Storage` interface for a custom in-process store, or the `Limiter` interface for a custom algorithm. - **HTTP middleware example** — with accurate `Retry-After` and `RateLimit-*` @@ -114,7 +114,7 @@ sequenceDiagram go get github.com/slashdevops/ratelimiter ``` -Requires Go 1.25.2 or newer. +Requires Go 1.26 or newer. ## Quick start diff --git a/go.mod b/go.mod index f611eba..ebf5f3f 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/slashdevops/ratelimiter -go 1.25.2 +go 1.26.0 require golang.org/x/time v0.15.0