Skip to content

vokidya/godash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

godash

Lodash for Go. Document coppied from loadash.

Chunk

Creates an array of elements split into groups the length of size. If array can't be split evenly, the final chunk will be the remaining elements.

Concat

Creates a new array concatenating array with any additional arrays and/or values.

Difference

Creates an array of array values not included in the other given arrays using SameValueZero for equality comparisons. The order and references of result values are determined by the first array.

Filter

Includes

Different with lodash, need check

Map

Creates an array of values by running each element in collection thru iteratee.

Omit

The opposite of _.pick; this method creates an object composed of the own and inherited enumerable property paths of object that are not omitted.

Pick

Creates an object composed of the picked object properties.

Uniq

Creates a duplicate-free version of an array, using SameValueZero for equality comparisons, in which only the first occurrence of each element is kept. The order of result values is determined by the order they occur in the array.

UniqBy

Different with lodash, need check

About

Lodash for Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages