Sourced from github.com/spf13/cast's releases.
v1.5.0
- Add support for
json.Number
- Enable integer and float conversion of
time.Weekday
andtime.Month
values- Allow nil in ToFloat* (which gets it in line with the rest)
- Trim trailing zero decimals from string numbers, e.g.
10.0
before any int parsing.- Remove some test duplication
- Replace testify with quicktest
2b0eb0f
Misc number fixes36a7d5b
github: Update Go versions in matrix408043c
Add support for json.Numberb481d74
Add a simple ToInt benchmark