Skip to content

Commit 5602e43

Browse files
authored
Merge pull request #11 from slashdevops/chore/bump-go-1.26
chore: bump go directive to 1.26
2 parents 05da544 + ebb43ad commit 5602e43

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ idle for a configurable duration.
3535
that have not been used for `deleteAfter`; active keys are kept alive. Stop it
3636
with `Close()`.
3737
- **Type-safe & generic**`Storage[K, V]` and `BucketLimiter[K]` use Go
38-
generics (Go 1.25+).
38+
generics (Go 1.26+).
3939
- **Extensible** — implement the `Storage` interface for a custom in-process
4040
store, or the `Limiter` interface for a custom algorithm.
4141
- **HTTP middleware example** — with accurate `Retry-After` and `RateLimit-*`
@@ -114,7 +114,7 @@ sequenceDiagram
114114
go get github.com/slashdevops/ratelimiter
115115
```
116116

117-
Requires Go 1.25.2 or newer.
117+
Requires Go 1.26 or newer.
118118

119119
## Quick start
120120

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/slashdevops/ratelimiter
22

3-
go 1.25.2
3+
go 1.26.0
44

55
require golang.org/x/time v0.15.0

0 commit comments

Comments
 (0)