This repository was archived by the owner on Apr 1, 2023. It is now read-only.
Releases: xgfone/go-tools
Releases · xgfone/go-tools
v5.9.0
v5.8.0
v5.7.0
v5.6.0
v5.5.2
v5.5.1
v5.5.0
v5.4.0
- Add the converting function
ToLocalTime
andMustToLocalTime
. - Unify the implementation of
ToTime
andToLocalTime
, and both of them support the type of[]byte
and the zero value "0000-00-00 00:00:00". - Simply the implementation of the methods
Scan
andUnmarshalJSON
.
v5.3.0
- Add
go.mod
. - Add the
time.Time
optionTimeOption
. - Add the error
ErrUnknownType
for the sub-packagetypes
. - Change: the
ToXXX
returnsErrUnknownType
for the invalid type. - Update:
Option
supportsjson.Marshaler
, and the typed Option also supportsjson. Unmarshaler
. - Update: the
Time
converter supports"0000-00-00 00:00:00"
.
v5.2.0
- Add the LICENSE header.
- Add the new binding functions
SetValue
,SetStructValue
,SetStructValueOf
andBindMapToStruct
. - Add the new converting functions
ToInt8
,ToUint8
,ToInt16
,ToUint16
,MustToInt8
,MustToUint8
,MustToInt16
,MustToUint16
. ToBool
supportsyes
astrue
andno
asfalse
.- Optimize the lifecycle manager:
- Change: call the registered stop functions by the reverse.
- Allow
Register
to add many functions. - Add the methods
Exit
.