Skip to content

Releases: datasweet/cast

Numerics cast

05 Aug 11:19
9d5228e
Compare
Choose a tag to compare
  • Add AsInt64, AsInt32, AsInt16, AsInt8
  • Add AsUint64, AsUint32, AsUint16, AsUint8
  • AsInt returns now an int instead of an int64
  • AsUint returns now an uint instead of an uint64

Go modules

26 Mar 11:09
a1221c3
Compare
Choose a tag to compare
v1.1.1

using indirect (#3)

Use reflect to convert

25 Jun 13:18
09e92a0
Compare
Choose a tag to compare
v1.1.0

better support to convert ptr, alias type with reflect. (#1)

Add cast.AsUint

25 Jun 11:22
Compare
Choose a tag to compare
v1.0.2

Add uint converters

add duration cast

20 May 10:39
Compare
Choose a tag to compare
v1.0.1

add duration cast

v1.0.0

13 Mar 12:59
Compare
Choose a tag to compare
Remove precision in as string...