Go Funk Versions Save

A modern Go utility library which provides helpers (map, find, contains, filter, ...)

v0.2.0

6 years ago
  • 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

7 years ago
  • 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