samber/lo

💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)

GoOthergogolangfunctionalprogrammingcontractconstraintsgenericslodashtypesafefilterablefoldable
This is stars and forks stats for /samber/lo repository. As of 29 Mar, 2024 this repository has 13455 stars and 637 forks.

lo - Iterate over slices, maps, channels... ✨ samber/lo is a Lodash-style Go library based on Go 1.18+ Generics. This project started as an experiment with the new generics implementation. It may look like Lodash in some aspects. I used to code with the fantastic "go-funk" package, but "go-funk" uses reflection and therefore is not typesafe. As expected, benchmarks demonstrate that generics are much faster than implementations based on the "reflect" package. Benchmarks also show similar performance...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
kubernetes/minikubeGoHTMLShell27.3k04.8k0
projectdiscovery/httpxGoHTMLOther5.9k07110
volatiletech/sqlboilerGoSmartyShell6k05530
kubernetes/kopsGoHCLShell15.2k+144.7k+4
kubesphere/kubekeyGoShellMakefile1.8k04590
valyala/fasthttpGo20.2k+281.7k+4
gwern/gwern.netHaskellJavaScriptCSS3800320
plantuml/plantuml2HaxeOther30040
datawhalechina/fun-recJupyter NotebookPythonVue2.7k+30638+4
tipsy/javalinKotlinJavaOther6.8k+155910