gollection
gollection copied to clipboard
gollection is golang collection util library
gollection
gollection is golang collection util library (inspired by kotlin collection)
supported functions
- distinct
- distinctBy
- filter
- flatMap
- flatten
- fold
- map
- reduce
- skip (java8)
- sortBy
- take
Feature
- read-only original slice
- stream(goroutine) support
Installation
go get github.com/azihsoyn/gollection
or go get gopkg.in/azihsoyn/gollection.v1
Usage
see examples code
LICENSE
MIT