Skip to content

Releases: thoas/go-funk

v0.2.0

10 Jun 19:11
c43409e
Compare
Choose a tag to compare
  • More typesafe implementations
  • Add PtrOf which makes a copy of the given interface and returns a pointer
  • Add IsEqual which returns if the two objects are equal
  • Add IsType which returns if the two objects are in the same type
  • Add IsEmpty which returns if the object is considered as empty or not
  • Add IsZero which returns if the object is a zero-value
  • Add ToFloat64 which convert an object to float64

v0.1.0

18 Jan 11:55
c43409e
Compare
Choose a tag to compare
  • Better test suite
  • Better documentation
  • Add typesafe implementations:
    • Contains
    • Sum
    • Reverse
    • IndexOf
    • Uniq
    • Shuffle
  • Add benchmarks
    • Contains
    • Uniq
    • Sum
  • Fix redirectValue when using a circular reference
  • Add Sum generic implementation which computes the sum of values in an array
  • Add Tail generic implementation to retrieve all but the first element of array
  • Add Initial generic implementation to retrieve all but the last element of array
  • Add Last generic implementation to retrieve the last element of an array
  • Add Head generic implementation to retrieve the first element of an array