cloudwego / hertz

Go HTTP framework with high-performance and strong-extensibility for building micro-services.
https://www.cloudwego.io
Apache License 2.0
5.12k stars 496 forks source link

optimize(hz):router file insertPointPattern add compatibility with spaces format #1077

Open chenghonour opened 6 months ago

chenghonour commented 6 months ago

What type of PR is this? optimize

Check the PR title. This PR title match the format: (optional scope): The description of this PR title is user-oriented and clear enough for others to understand. Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo (Optional) Translate the PR title into Chinese. hz工具,router文件增加插入点匹配对空格的兼容

(Optional) More detailed description for this PR(en: English/zh: Chinese). en: hz tool, router file insertPointPattern add compatibility with spaces format.Because auto-formatting adds spaces to comments

zh(optional): hz工具,router文件增加插入点匹配对空格的兼容,因为自动格式化工具会对插入点注释添加空格。

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.84%. Comparing base (b7cbc9d) to head (4c1fb4f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1077 +/- ## =========================================== + Coverage 82.79% 82.84% +0.04% =========================================== Files 98 98 Lines 10032 10032 =========================================== + Hits 8306 8311 +5 + Misses 1236 1232 -4 + Partials 490 489 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

li-jin-gou commented 4 months ago

CI 需要修复