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

remove New() -> func pattern #10

Open
tj opened this issue Feb 1, 2015 · 1 comment
Open

remove New() -> func pattern #10

tj opened this issue Feb 1, 2015 · 1 comment

Comments

@tj
Copy link
Member

tj commented Feb 1, 2015

thought it made sense before but meh, nicer to just make things http.Handler's and chain them manually

@tarrsalah
Copy link
Member

Yeah, Unnecessary glue code, chaining middleware(http.Handler) http.Handler middlewares manually like m1(m2(m3(handler) seems to be fine for now.

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

2 participants