Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.18 KB

File metadata and controls

36 lines (27 loc) · 1.18 KB

gollection

GoDoc Coverage Status CircleCI

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

or godoc examples

LICENSE

MIT