optimize: Add setting base path functionality
What type of PR is this? optimize
Check the PR title.
- [x] This PR title match the format:
(optional scope): - [x] The description of this PR title is user-oriented and clear enough for others to understand.
(Optional) Translate the PR title into Chinese. 增加修改basePath的函数
(Optional) More detail description for this PR(en: English/zh: Chinese). en: Similar to the java web's contextPath, it is convenient for nginx distribution zh: 类似java web的contextPath,方便nginx分发
Codecov Report
Base: 64.46% // Head: 64.37% // Decreases project coverage by -0.09% :warning:
Coverage data is based on head (
6f851ab) compared to base (b4ba993). Patch coverage: 0.00% of modified lines in pull request are covered.
Additional details and impacted files
@@ Coverage Diff @@
## develop #297 +/- ##
===========================================
- Coverage 64.46% 64.37% -0.10%
===========================================
Files 84 84
Lines 8288 8294 +6
===========================================
- Hits 5343 5339 -4
- Misses 2583 2593 +10
Partials 362 362
| Impacted Files | Coverage Δ | |
|---|---|---|
| pkg/route/engine.go | 61.22% <0.00%> (-0.85%) |
:arrow_down: |
| pkg/common/timer/timer.go | 61.90% <0.00%> (-19.05%) |
:arrow_down: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.