8000 Tags · spf13/cast · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: spf13/cast

Tags

v1.8.0

Toggle v1.8.0's commit message

Verified

This tag was signed with the committer’s verified signature.
sagikazarmark Márk Sági-Kazár 10000
Release 1.8.0

v1.7.1

Toggle v1.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #213 from skyjerry/fix-uint64

Fix ToUint64 issue with string input exceeding maximum int64

v1.7.0

Toggle v1.7.0's commit message
Support some commonly used Float64 interfaces

v1.6.0

Toggle v1.6.0's commit message
Bump Go version in go.mod to 1.19

v1.5.1

Toggle v1.5.1's commit message
Pull the 2006-01-02 layout to the top when checking

The current top 2 formats are, from some checks I've done, 2 dominant formats used in Hugo projects.

Checking these first has a big effect:

```bash

name                  old time/op    new time/op    delta
CommonTimeLayouts-10    1.45µs ± 0%    0.33µs ± 1%  -77.45%  (p=0.029 n=4+4)

name                  old alloc/op   new alloc/op   delta
CommonTimeLayouts-10    1.55kB ± 0%    0.18kB ± 0%  -88.14%  (p=0.029 n=4+4)

name                  old allocs/op  new allocs/op  delta
CommonTimeLayouts-10      38.0 ± 0%       6.0 ± 0%  -84.21%  (p=0.029 n=4+4)
```

See gohugoio/hugo#10942

v1.5.0

Toggle v1.5.0's commit message
Misc number fixes

* 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

v1.4.1

Toggle v1.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix date parse for "2016-03-06 15:28:01 +0900"

v1.4.0

Toggle v1.4.0's commit message

Verified

This commit was signed with the committer’s verified signature.
bep Bjørn Erik Pedersen
github: Also run tests on Windows

v1.3.1

Toggle v1.3.1's commit message
Fix uint, uint8, uint16, uint32 and uint64 conversion in ToStringE fu…

…nction.

v1.3.0

Toggle v1.3.0's commit message
Fix Travis build

0