From 6949093e40d9b0225b60a06cad7aeae73414904b Mon Sep 17 00:00:00 2001 From: iryndin Date: Fri, 15 Aug 2025 20:17:46 -0700 Subject: [PATCH] Update README --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fb80779..5d0b02b 100644 --- a/README.md +++ b/README.md @@ -144,4 +144,16 @@ CAS loop with configurable retries ensures safe concurrent mutation of shared li * Store `rl *uint64` values in maps keyed by user/IP/key. * Use separate `RateLimiter` instances for each configuration (they are stateless). E.g. create one instance of `RateLimiter` for free plan users, and another `RateLimiter` instance for paid plan users with higher rate. -* Use of `rl *uint64` values makes sense only by reference (pointer) \ No newline at end of file +* Use of `rl *uint64` values makes sense only by reference (pointer) + +## 7. Run tests + +```shell +go test +``` + +With fuzzing: + +```shell +go test -fuzz=Fuzz -fuzztime=30s -run=^$ +``` \ No newline at end of file