Skip to content

Releases: tiendc/gofn

v1.16.0

09 Jan 07:51
11fec79

Choose a tag to compare

  • Added new func PtrValueOrEmpty
  • Removed deprecated flag on If()

v1.15.0

01 Nov 07:14
92846b8

Choose a tag to compare

  • Remove trivial functions which previously deprecated
  • Add ToSliceSkippingNil / ToSliceSkippingZero
  • Add FilterRange
  • Add StringSplit /StringSplitN
  • Add StringToUpper1stLetter / StringToLower1stLetter
  • Add RandToken / RandTokenAsHex

v1.14.0

06 Nov 06:01
1ad9ac4

Choose a tag to compare

  • Added new functions ErrWrap, ErrWrapL, ErrUnwrap, ErrUnwrapToRoot

v1.13.0

07 Oct 11:07
68af6f2

Choose a tag to compare

  • Added Splice/SpliceEx for slices
  • Added Partial<XX> binding functions

v1.12.0

02 Oct 08:31
b349467

Choose a tag to compare

  • Added ToSafeInt, ToSafeUint
  • Added ExecDelay
  • Deprecated LinesTrim functions

v1.11.1

19 Sep 18:52
2fd91f2

Choose a tag to compare

  • Upgrade version of rflutil to latest

v1.11.0

10 Sep 20:51
ddca7f0

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

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

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

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)