Skip to content

Releases: duke-git/lancet

v2.1.6

31 Aug 09:13
Compare
Choose a tag to compare

Feature:

  1. Add new http client implementation, see netutil/http_client.go
  2. Add condition package for conditional judgment, see condition/condition.go
  3. Add function EncodeByte and DecodeByte, see convertor/convertor.go
  4. Add function IsZeroValue, see validator/validator.go

Fix:

  1. Fix hash algorithm bug in datastructure/HashMap.go

v1.3.2

31 Aug 09:12
Compare
Choose a tag to compare

Feature:

  1. Add new http client implementation, see netutil/http_client.go
  2. Add function EncodeByte and DecodeByte, see convertor/convertor.go
  3. Add function IsZeroValue, see validator/validator.go

v2.1.5

25 Aug 03:18
Compare
Choose a tag to compare

Feature:
1.add HashMap in datastructure package.

Refactor:

  1. change function name "ReverseStr" to "Reverse" in strutil package.

v2.1.4

03 Aug 02:01
Compare
Choose a tag to compare

feature:

  1. datastructer/list: LastIndexOf, LastIndexOfFunc, IndexOfFunc, Sublist, DeleteIf, Cap.
  2. slice: AppendIfAbsent.

v1.3.1

03 Aug 01:59
Compare
Choose a tag to compare

Feature:

  1. slice: ToSlice, ToSlicePointer, AppendIfAbsent.
  2. net: IsInternalIP, GetRequestPublicIp, EncodeUrl.
  3. convertor: ToChannel.
  4. system: GetOsBits.

v2.1.3

21 Jul 03:34
ac0fb5e
Compare
Choose a tag to compare

Feature:

  1. slice: Flatten
  2. map: IsDisjoint
  3. system: GetOsBits

Fix:

  1. aes.go: fix iv generation algorithm in functions: AesCbcEncrypt, AesCbcDecrypt
  2. des.go: fix iv generation algorithm in functions: DesCbcEncrypt, DesCbcDecrypt

v2.1.2

13 Jul 02:44
Compare
Choose a tag to compare

Feature:

  1. convertor: ToChannel, ToMap, MapToSlice, ToPointer
  2. slice: ToSlice, ToSlicePointer,
  3. netutil: GetRequestPublicIp, IsInternalIP

Refactor:

  1. Change some slice functions param type: any->comparable

Fix:

  1. netutil: fix post request multipart header bug.
  2. fileutil: fix some unit tests run failed.

v2.1.1

06 Jul 03:30
Compare
Choose a tag to compare

Feature:

  1. Add MaxHeap data structure in package datastructure.
  2. Add ToSlice and ToSlicePointer functions in package slice.
  3. Add ToPointer function in package convertor.

v2.1.0

22 Jun 08:23
Compare
Choose a tag to compare

Feature:

  1. Add UniqueBy function in slice/slice.go

v1.3.0

22 Jun 08:16
Compare
Choose a tag to compare

Feature:

  1. Add CreateDir function for create directory in fileutil/file.go
  2. Add IndexOf, LastIndexOf, UniqueBy, Equal and EqualWith functions in slice/slice.go
  3. Add SplitEx function in string/str.go