Popularity
1.5
Growing
Activity
5.8
-
19
2
1

Description

Go port of DotNet LINQ using generics introduced in Go 1.18

Currently implemented

Where Select Range Foreach Min(By) Max(By) Average Sum First Last Skip(While) Take(While) Contains Any Join

(OrderBy And GroupBy will always access all items. For performance and ease of use reason I'll not implement them in IEnumerable way. Please use glinq/garray package instead)

Adapters:

FromSlice

FromMap

ReadLines (wrapping bufio.NewScanner)

sqlxq.Queryx (wrapping sqlx.Queryx)

ToSlice

ToMap

Also some similar utilities directly for slices in the glinq/garray package. These are more handful, without FromSlice/ToSlice conversion.

Sort(Descending) SortBy(Descending) Map ToMap Filter Apply RemoveIf Contains (Last)IndexOf (Last)IndexWhere First, Last Concat ShallowCopy Sum Average GroupBy Count Reverse

Programming language: Go
License: MIT License

glinq alternatives and similar packages

Based on the "Generation & Generics" category.
Alternatively, view glinq alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of glinq or a related project?

Add another 'Generation & Generics' Package