hertz
hertz copied to clipboard
feat: support autoRender
What type of PR is this? feat
What this PR does / why we need it (English/Chinese): en: support auto render for html zh: html render 支持可配置化自动加载
Which issue(s) this PR fixes: https://github.com/cloudwego/hertz/issues/95
Codecov Report
Merging #194 (372ba42) into develop (9f2cacd) will increase coverage by
0.04%. The diff coverage is65.21%.
@@ Coverage Diff @@
## develop #194 +/- ##
===========================================
+ Coverage 58.99% 59.03% +0.04%
===========================================
Files 79 79
Lines 7999 8017 +18
===========================================
+ Hits 4719 4733 +14
- Misses 2932 2936 +4
Partials 348 348
| Impacted Files | Coverage Δ | |
|---|---|---|
| pkg/app/server/render/html.go | 0.00% <0.00%> (ø) |
|
| pkg/common/config/option.go | 0.00% <ø> (ø) |
|
| pkg/app/server/option.go | 89.47% <100.00%> (+0.38%) |
:arrow_up: |
| pkg/route/engine.go | 62.46% <100.00%> (+1.44%) |
:arrow_up: |
| pkg/common/compress/compress.go | 80.95% <0.00%> (-2.86%) |
:arrow_down: |
| pkg/network/standard/buffer.go | 81.08% <0.00%> (-0.50%) |
:arrow_down: |
| pkg/common/timer/timer.go | 80.95% <0.00%> (+19.04%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Ci is not passed.
codecov/project can be bypassed in this case
continue in #207