Releases: duke-git/lancet
Releases · duke-git/lancet
v1.2.7
Feature:
- datetime/conversion.go
Fix:
- convertor/convertor.go ToBytes func bug.
v2.0.1
Feature:
- slice/slice.go: add func
GroupWith
.
- mathutil/mathutil.go: add funcs
Max
, Min
, Average
.
- datetime/conversion.go
v2.0.0
Upgrade go1.18!
Feature:
- Add algorithm package.
- Add datastructure package.
- Add lancetconstraints package.
Refactor:
- Rewrite some functions with go generics.
v1.2.6
Feature:
- Add mathutil package.
v1.2.5
Feature:
- random/random.go: add UUIdV4 func.
Fix:
- netutil/net_internal.go: func setBodyByte, set request body content length.
v1.2.4
Feature:
- datetime/datetime.go: add funcs BeginOfMinute, BeginOfHour, BeginOfDay, BeginOfWeek, BeginOfMonth, BeginOfYear
, EndOfMinute, EndOfHour, EndOfDay, EndOfWeek, EndOfMonth, EndOfYear.
- netutil/net.go: add funcs GetIps, GetMacAddrs.
v1.2.3
Docs:
Add doc for all package function.
v1.2.2
Feature:
- slice/slice.go: add func Compact, Concat, DifferenceBy.
- function/function.go: add func Debounced.
- str/string.go: add func UpperFirst.
- validator/validator.go: add func IsUrl.
Remove:
- slice/slice.go: remove ConvertSlice func.
Fix:
- system/os.go: fix ExecCommand failed in windows.
v1.2.1
Refactor:
- cryptor/basic.go: Md5File for reading large file.
Fix:
- Fix some go report card issues.
v1.2.0
Feature:
- New package retry can execute function repeatedly until it was successful or canceled by the context.
- New package system contains some functions about os, runtime, shell command.
- validator/validator.go: add new validator function, IsAllUpper, IsAllLower, ContainUpper, ContainLower, ContainLetter, IsJSON.