gin
gin copied to clipboard
Add support of time pointer fields in form binding
This will cover the following scenarios:
type input struct {
Field *time.Time `form:"field" time_format:"2006-01-02" time_utc:"1"`
}
Codecov Report
Merging #1486 into master will decrease coverage by
0.04%
. The diff coverage is88.88%
.
@@ Coverage Diff @@
## master #1486 +/- ##
==========================================
- Coverage 98.49% 98.44% -0.05%
==========================================
Files 41 41
Lines 2062 2062
==========================================
- Hits 2031 2030 -1
- Misses 19 20 +1
Partials 12 12
Impacted Files | Coverage Δ | |
---|---|---|
binding/form_mapping.go | 99.3% <88.88%> (-0.7%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update e207a3c...9c168e5. Read the comment docs.
@lokhman conflicts. Please help to fix.
@appleboy resolved for now. Please check.