Skip to content

Releases: tiendc/gofn

v1.14.0

06 Nov 06:01
1ad9ac4
Compare
Choose a tag to compare
  • Added new functions ErrWrap, ErrWrapL, ErrUnwrap, ErrUnwrapToRoot

v1.13.0

07 Oct 11:07
68af6f2
Compare
Choose a tag to compare
  • Added Splice/SpliceEx for slices
  • Added Partial<XX> binding functions

v1.12.0

02 Oct 08:31
b349467
Compare
Choose a tag to compare
  • Added ToSafeInt, ToSafeUint
  • Added ExecDelay
  • Deprecated LinesTrim functions

v1.11.1

19 Sep 18:52
2fd91f2
Compare
Choose a tag to compare
  • Upgrade version of rflutil to latest

v1.11.0

10 Sep 20:51
ddca7f0
Compare
Choose a tag to compare
  • Renamed some functions with keeping the old with marking deprecated
  • Added Iter, IterXX, ToPtrSlice, StringLexJoin, RuneLength, ReduceReverse, Zip4, Zip5, FindUniques, FindDuplicates, Clamp, ExecDuration

v1.10.0

08 Sep 09:39
860c273
Compare
Choose a tag to compare
  • Added Clamp, ExecDurationN, Iter, IterReverse, RuneLength
  • Added uintptr to constraint UInt
  • Refactoring: merged related functions into same files
  • Refactoring: renamed some functions with deprecation for the old

v1.9.0

13 Aug 11:44
97e6e84
Compare
Choose a tag to compare
  • Added new functions: Drop, MapPick, MapOmit, MapOmitCopy, Partition, PartitionN, ExecTaskFunc, ExecTaskFuncEx, HeadOf, TailOf, MapSliceToMapKeys.
  • Renamed some types: IntEx -> IntExt (meaning of extended). Old types are kept with deprecation.

v1.8.1

11 Aug 18:58
fccb6e2
Compare
Choose a tag to compare
  • Add support for slice derived types in function arguments (use generic type S ~[]T)
  • Add support for map derived types in function arguments (use generic type M ~map[K]V)

v1.8.0

10 Jul 09:59
b0c5443
Compare
Choose a tag to compare
  • Add RandChoice() to pick up a random item from a slice
  • Add RandChoiceMaker to pick up random items from a slice
  • Add Shuffle() to shuffle a slice

v1.7.0

19 Jun 21:39
9b4d261
Compare
Choose a tag to compare
  • Add function ToSetPredReverse
  • Add function Or
  • Add CI test using Go 1.22