It’s Time To Replace ahmetb/go-linq With samber/lo

Che Dan
ITNEXT
Published in
3 min readJun 29, 2022

--

When working with Golang, we often need to operate a collection of data. Such as filtering, mapping, summing, etc.

Although most of these operations could be done with a simple “for looping”, it’s pretty tedious and we prefer to avoid it.

Before Golang1.18, we get the work done with ahmetb/go-linq.

--

--