-
Notifications
You must be signed in to change notification settings - Fork 143
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 dependency on github.com/go-chi/chi/v5 (again) #322
Comments
Hi, @rhcarvalho
|
Hi @vtopc, thanks for the considerations.
All that said, I don't feel strong about it and wouldn't mind if we just close this issue and move on :) |
BTW nice to see you're picking up maintenance of the library 🚀 |
Initially, mocks were used for internal testing, but now things have gone too far, as I see that some consumers are using them for their tests too. We could get rid of that in v5.
OK. Closing. |
Hi! I'm evaluating the dependency tree of a project that uses
github.com/mailgun/mailgun-go/v4
. The project doesn't use theMockServer
, stillgithub.com/go-chi/chi/v5
ends up in the dependency tree via mailgun-go.I see this library went from chi to gorilla/mux (#252) and back to chi (#307) in the last few years.
Now with Go 1.22 "enhanced routing patterns" there's a good chance to drop external dependencies in favor of using the standard library. For the usage I saw in those PRs the stdlib would be a good fit.
I see
go.mod
is currently at1.13
which was before thego
directive started to mean minimal Go toolchain version. And I didn't find any mention in the README with regards to supported Go versions. Go itself supports the last two major releases.Would a PR to remove the external dependency be accepted? If so, should it wait until 1.23 is released?
The text was updated successfully, but these errors were encountered: