Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 17 Go Generation and Generic Projects
-
This is a lot more possible now that Go has generics (as of 1.18).
I would probably never use these, as I find such libraries are a whole new domain-specific language to learn, and often don't make things much simpler anyway, but here are some libraries where people have done something like this:
* https://github.com/ahmetb/go-linq: modelled after LINQ, but created pre-generics so only recently added some generics features
-
We have a repo/library called fasten-sources which is made up of mostly generated code (using dave/jennifer)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
-
-
-
Project mention: Ten Years of “Go: The Good, the Bad, and the Meh | news.ycombinator.com | 2023-07-18
While not perfect, there are ways to generate enums automatically using go:generate, e.g. https://github.com/abice/go-enum
-
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
-
w3
Package w3 implements a blazing fast and modular Ethereum JSON RPC client with first-class ABI support.
-
-
-
-
-
-
So awhile back, there was a port of Linq https://github.com/ahmetb/go-linq that ended up giving up, since then it has been continued with https://github.com/szmcdull/glinq
-
Anakin
Codegeneration tool for isomorphic server and mobile Go apps with gRPC & Protobuf. Share code between your backend, Android & iOS app! :sun_with_face:
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Generation and Generics related posts
- Fourteen Years of Go
- Ten Years of “Go: The Good, the Bad, and the Meh
- How to minimize RAM usage during Go binary compilation
- Golang’s best-kept secret: ‘executable examples’
- Querying and transforming object graphs in Go
- Do you generate Clone or Copy methods?
- Go vs Rust
-
A note from our sponsor - InfluxDB
www.influxdata.com | 28 Mar 2024
Index
What are some of the best open-source Generation and Generic projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | go-linq | 3,399 |
2 | jennifer | 3,154 |
3 | gen | 1,430 |
4 | goderive | 1,161 |
5 | GoWrap | 878 |
6 | go-enum | 640 |
7 | goverter | 424 |
8 | interfaces | 417 |
9 | w3 | 141 |
10 | pkgreflect | 105 |
11 | gotype | 58 |
12 | efaceconv | 48 |
13 | go-xray | 27 |
14 | knoa | 27 |
15 | typeregistry | 23 |
16 | glinq | 19 |
17 | Anakin | 18 |