Go Generation and Generics

Open-source Go projects categorized as Generation and Generics

Top 17 Go Generation and Generic Projects

  • go-linq

    .NET LINQ capabilities in Go

    Project mention: Fourteen Years of Go | news.ycombinator.com | 2023-11-11

    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

  • jennifer

    Jennifer is a code generator for Go

    Project mention: How to minimize RAM usage during Go binary compilation | /r/golang | 2023-07-11

    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.

  • gen

    Type-driven code generation for Go (by clipperhouse)

  • goderive

    Derives and generates mundane golang functions that you do not want to maintain yourself

  • GoWrap

    GoWrap is a command line tool for generating decorators for Go interfaces

  • go-enum

    An enum generator for go

    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

  • goverter

    Generate type-safe Go converters by simply defining an interface

  • 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.

  • interfaces

    Code generation tools for Go. (by rjeczalik)

  • w3

    Package w3 implements a blazing fast and modular Ethereum JSON RPC client with first-class ABI support.

  • pkgreflect

    A Go preprocessor for package scoped reflection

  • gotype

    Golang source code parsing, usage like reflect package

  • efaceconv

  • go-xray

    Helpers for making the use of reflection easier

  • knoa

    A handy and powerful library to deal with unstructured data

  • typeregistry

    create type dynamically in Golang

  • glinq

    Go port of DotNet LINQ using generics introduced in Go 1.18

    Project mention: Querying and transforming object graphs in Go | /r/golang | 2023-05-17

    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

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-11-11.

Go Generation and Generics related posts

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com