/linq

support linq synx for golang

Primary LanguageGoMIT LicenseMIT

Linq-like syntax for Golang.

Go Version GoDoc Build Status Go report Coverage License

Install

go get github.com/fangpin/linq

Supported linq operation

  • aggregate
  • all
  • any
  • average
  • chunk
  • contains
  • count
  • default_if_empty
  • distinct
  • distinct_by
  • except
  • except_by
  • first
  • first_or_default
  • group_by
  • group_join
  • intersect
  • intersect_by
  • keys
  • last
  • last_or_default
  • max
  • max_by
  • min
  • min_by
  • of_type
  • order
  • order_by
  • order_by_descending
  • order_descending
  • prepend
  • repeat
  • reverse
  • select
  • select_many
  • single
  • single_or_default
  • skip
  • skip_last
  • skip_while
  • sum
  • take
  • take_last
  • take_while
  • to_dictionary
  • to_hash_set
  • to_lookup
  • union
  • union_by
  • values
  • where
  • zero
  • zip