Releases: thoas/go-funk
Releases · thoas/go-funk
v0.2.0
- More typesafe implementations
- Add
PtrOfwhich makes a copy of the given interface and returns a pointer - Add
IsEqualwhich returns if the two objects are equal - Add
IsTypewhich returns if the two objects are in the same type - Add
IsEmptywhich returns if the object is considered as empty or not - Add
IsZerowhich returns if the object is a zero-value - Add
ToFloat64which convert an object tofloat64
v0.1.0
- Better test suite
- Better documentation
- Add typesafe implementations:
ContainsSumReverseIndexOfUniqShuffle
- Add benchmarks
ContainsUniqSum
- Fix
redirectValuewhen using a circular reference - Add
Sumgeneric implementation which computes the sum of values in an array - Add
Tailgeneric implementation to retrieve all but the first element of array - Add
Initialgeneric implementation to retrieve all but the last element of array - Add
Lastgeneric implementation to retrieve the last element of an array - Add
Headgeneric implementation to retrieve the first element of an array