-
Notifications
You must be signed in to change notification settings - Fork 88
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
refactor: http and route #198
Conversation
把Gin移除以后Auth包那边的测试没法运行了,缺少 cc @hwbrzzl. |
将 Auth 的测试与 Route/Http 解耦吧?如果需要,Auth 直接使用 net/http 发起请求。 |
# Conflicts: # go.mod # go.sum # http/gin_request.go # http/gin_response.go # http/service_provider.go # route/gin_test.go
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #198 +/- ##
==========================================
+ Coverage 63.46% 65.36% +1.90%
==========================================
Files 145 136 -9
Lines 9023 8423 -600
==========================================
- Hits 5726 5506 -220
+ Misses 2907 2532 -375
+ Partials 390 385 -5
☔ View full report in Codecov by Sentry. |
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.
Great, clearer!
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.
looks good to remove so many files. 👍
Maybe it can't be done because can't register routes. I'm going to try to fallback to the original way. |
This reverts commit bdc55fe.
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.
Great work! It seems to be fine, I'll check out this branch and try it locally, could you please add the new configuration to the PR description?
Sorry, I saw the configuration in goravel/gin. |
FYI, I'm testing goravel/http-middleware. |
Closes goravel/goravel#206
Closes goravel/goravel#93
Closes goravel/goravel#187
📑 Description
Refactor http and route.
✅ Checks
ℹ Additional Information
none.