4 ms·
Might be interesting to make a library that competes with https://github.com/samber/lo https://github.com/samber/lo?
by pdimitar 2y ago
Might be interesting to make a library that competes with https://github.com/samber/lo https://github.com/samber/lo?
- gtramont 2y agoBack when the Go team announced generics, I had a go (pun intended) at it: https://github.com/gtramontina/go-extlib https://github.com/gtramontina/go-extlib -- might resurrect it one day. `lo` is pretty comprehensive though.
- mihaitodor 2y agoHere's one: https://github.com/szmcdull/glinq https://github.com/szmcdull/glinq It doesn't do function chaining though.
- mseepgood 2y agoIt's not interesting. Boring people did this a million times, the result is always the same: just use for loops.
- _lvbh 2y ago> Tips for lazy developers > I cannot recommend it, but in case you are too lazy for repeating lo. everywhere, you can import the entire library into the namespace. import ( . "github.com/samber/lo" ) TIL. Crazy
- s6af7ygt 2y agoI just hate the fact that Go is super simple and clear but people try to make it complex with this kind of stuff. :( Makes me sad.