-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added fasthttp example #1
Conversation
@@ -0,0 +1,9 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<module type="WEB_MODULE" version="4"> | |||
<component name="Go" enabled="true" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the .idea
folder ?
@@ -7,3 +7,4 @@ A curated list of middleware examples for [limiter](https://github.com/ulule/lim | |||
* [Beego](https://github.com/ulule/limiter-examples/blob/master/beego/main.go) | |||
* [Chi](https://github.com/ulule/limiter-examples/tree/master/chi/main.go) | |||
* [Echo](https://github.com/ulule/limiter-examples/tree/master/echo/main.go) | |||
* [fasthttp](https://github.com/ulule/limiter-examples/tree/master/fasthttp/main.go) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* [fasthttp](https://github.com/ulule/limiter-examples/tree/master/fasthttp/main.go) | |
* [FastHTTP](https://github.com/ulule/limiter-examples/tree/master/fasthttp/main.go) |
import ( | ||
"fmt" | ||
"github.com/go-redis/redis" | ||
"github.com/ulule/limiter/v3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you re-organize the import ? Following this convention:
import (
[ stdlib ]
[ external ]
[ internal ]
)
github.com/astaxie/beego v1.12.0 | ||
github.com/cj1128/phi v0.0.0-20171026043140-ee6510b82038 | ||
github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you execute go mod tidy
here ?
No description provided.