A comprehensive, efficient, and reusable util function library of Go.
Feature:
Test:
Feature:
Fix:
Feature:
Fix:
Feature:
Fix:
Feature:
Fix:
Feature:
convertor package: add ToInterface.
mathutil package: add GCD, LCM.
strutil package: add ReplaceWithMap, Trim, SplitAndTrim.
datetime package: add AddYear, IsLeapYear.
stream package: add FindLast.
Fix:
Feature:
compare package: add compare package to provide a lightweight comparison function on any type.
strutil package: add StringToBytes, BytesToString, IsBlank, HasPrefixAny, HasSuffixAny, IndexOffset.
slice package: add FindBy, FindLastBy.
netutil package: add DownloadFile, UploadFile, IsPingConnected, IsTelnetConnected.
fileutil package: add IsZipFile, FileSize, MTime, Sha, ReadCsvFile.
Fix:
This release version adapts to v2.1.20, which add lots of feature
Feature:
slice package: add ReduceBy, ReduceRight.
fileutil package: add CurrentPath.
formatter package: add Pretty, PrettyToWriter, DecimalBytes, BinaryBytes, ParseDecimalBytes, ParseBinaryBytes
validator package: add IsInt, IsFloat, IsNumber.
maputil package: add MapTo.
system package: add option support for ExecCommand function.
Fix:
Doc:
Feature:
Fix: