Skip to content

Releases: duke-git/lancet

v1.2.7

29 Mar 02:57
Compare
Choose a tag to compare

Feature:

  1. datetime/conversion.go

Fix:

  1. convertor/convertor.go ToBytes func bug.

v2.0.1

22 Mar 06:55
Compare
Choose a tag to compare

Feature:

  1. slice/slice.go: add func GroupWith.
  2. mathutil/mathutil.go: add funcs Max, Min, Average.
  3. datetime/conversion.go

v2.0.0

17 Mar 03:46
Compare
Choose a tag to compare

Upgrade go1.18!

Feature:

  1. Add algorithm package.
  2. Add datastructure package.
  3. Add lancetconstraints package.

Refactor:

  1. Rewrite some functions with go generics.

v1.2.6

04 Mar 09:41
Compare
Choose a tag to compare

Feature:

  1. Add mathutil package.

v1.2.5

25 Feb 08:43
Compare
Choose a tag to compare

Feature:

  1. random/random.go: add UUIdV4 func.

Fix:

  1. netutil/net_internal.go: func setBodyByte, set request body content length.

v1.2.4

16 Feb 06:16
Compare
Choose a tag to compare

Feature:

  1. datetime/datetime.go: add funcs BeginOfMinute, BeginOfHour, BeginOfDay, BeginOfWeek, BeginOfMonth, BeginOfYear
    , EndOfMinute, EndOfHour, EndOfDay, EndOfWeek, EndOfMonth, EndOfYear.
  2. netutil/net.go: add funcs GetIps, GetMacAddrs.

v1.2.3

07 Feb 08:37
Compare
Choose a tag to compare

Docs:

Add doc for all package function.

v1.2.2

24 Jan 02:19
Compare
Choose a tag to compare

Feature:

  1. slice/slice.go: add func Compact, Concat, DifferenceBy.
  2. function/function.go: add func Debounced.
  3. str/string.go: add func UpperFirst.
  4. validator/validator.go: add func IsUrl.

Remove:

  1. slice/slice.go: remove ConvertSlice func.

Fix:

  1. system/os.go: fix ExecCommand failed in windows.

v1.2.1

19 Jan 07:01
Compare
Choose a tag to compare

Refactor:

  1. cryptor/basic.go: Md5File for reading large file.

Fix:

  1. Fix some go report card issues.

v1.2.0

17 Jan 06:57
Compare
Choose a tag to compare

Feature:

  1. New package retry can execute function repeatedly until it was successful or canceled by the context.
  2. New package system contains some functions about os, runtime, shell command.
  3. validator/validator.go: add new validator function, IsAllUpper, IsAllLower, ContainUpper, ContainLower, ContainLetter, IsJSON.