Skip to content

Releases: duke-git/lancet

v1.3.3

08 Nov 07:17
Compare
Choose a tag to compare

Feature:

  1. Add new functions in random package: RandUpper, RandLower, RandNumeral, RandNumeralOrLetter.

v2.1.8

21 Oct 08:28
Compare
Choose a tag to compare

Feature:

  1. Add Pipeline in function/function.go.
  2. Add Replace and ReplaceAll in slice/slice.go.
  3. Support type alias for Number constraint (lancetconstraints/constraints.go).

v2.1.7

14 Oct 02:14
Compare
Choose a tag to compare

Feature:

  1. Add functions Iterate, Keys, Values for datastructure/hashmap.go.
  2. Refactor BeginOfWeek and EndOfWeek in datetime/datetime.go

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.