Skip to content

Commit

Permalink
Misc number fixes
Browse files Browse the repository at this point in the history
* Allow strings/json.Number with just zeroes after the decmial point to be converted to integer`
* Allow nil in ToFloat*
* Remove some test duplication
* replace testify with quicktest
* Enable integer and float conversion of time.Weekday values

Fixes #139
Fixes #141
  • Loading branch information
bep committed May 11, 2022
1 parent 36a7d5b commit 2b0eb0f
Show file tree
Hide file tree
Showing 5 changed files with 516 additions and 847 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
strategy:
matrix:
go-version: [1.17.x, 1.18.x]
go-version: [1.16.x, 1.17.x, 1.18.x]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
Loading

0 comments on commit 2b0eb0f

Please sign in to comment.