Skip to content

Commit

Permalink
Correct readme typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-draper committed Dec 30, 2022
1 parent ef629d3 commit 4c9c409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func main() {
})
mw := ratelimit.RateLimiter(store, &ratelimit.Options{
ErrorHandler: errorHandler,
KeyFunc: keyfunc,
KeyFunc: keyFunc,
})
server.GET("/", mw, func(c *gin.Context) {
c.String(200, "Hello World")
Expand Down Expand Up @@ -88,7 +88,7 @@ func main() {
})
mw := ratelimit.RateLimiter(store, &ratelimit.Options{
ErrorHandler: errorHandler,
KeyFunc: keyfunc,
KeyFunc: keyFunc,
})
server.GET("/", mw, func(c *gin.Context) {
c.String(200, "Hello World")
Expand Down

0 comments on commit 4c9c409

Please sign in to comment.