Skip to content
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

Params vs Context #9

Closed
claygod opened this issue Aug 28, 2016 · 3 comments
Closed

Params vs Context #9

claygod opened this issue Aug 28, 2016 · 3 comments

Comments

@claygod
Copy link

claygod commented Aug 28, 2016

Hello!
Tell me why you parameters of the URL is transmitted via ps fasthttprouter.Params instead of func (*RequestCtx) UserValue in the context of.

@buaazp
Copy link
Owner

buaazp commented Aug 28, 2016

fasthttprouter is a fork of httprouter, and this Params struct come from here:
https://github.com/julienschmidt/httprouter/blob/master/router.go#L86

@mrserverless
Copy link

@claygod there is a PR on this by the way #8

@buaazp
Copy link
Owner

buaazp commented Oct 24, 2016

Now UserValue is available in master and releases.

@buaazp buaazp closed this as completed Oct 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants