Closed ggicci closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.78%. Comparing base (
c8657ee
) to head (e72964c
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Breaking Change
func DecodeTo(req *http.Request, input any, opts ...core.Option) error
API has been renamed toDecodeTo
, it will populate the giveninput
value instead of creating a new instance internally, updates #101New API
Added new
func Decode[T any](req *http.Request, opts ...core.Option) (*T, error)
API, example usage: