Go Generation and Generics

Open-source Go projects categorized as Generation and Generics

Top 17 Go Generation and Generic Projects

Generation and Generics
  1. go-linq

    .NET LINQ capabilities in Go

    Project mention: Show HN: Rill – Composable concurrency toolkit for Go | news.ycombinator.com | 2024-11-25

    There are also libraries like https://github.com/Jeffail/tunny or https://pkg.go.dev/go.uber.org/goleak or https://github.com/fatih/semgroup to help deal with concurrency limits and goroutine lifecycle management.

    As the author of https://github.com/ahmetb/go-linq, it's hard to find adoption for libraries offering "syntactic sugar" in Go, as the language culture discourages those kind of abstractions and keeping the code straightforward.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. jennifer

    Jennifer is a code generator for Go

  4. gen

    Type-driven code generation for Go (by clipperhouse)

  5. goderive

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

  6. GoWrap

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

  7. go-enum

    An enum generator for go

    Project mention: Enums in Go | news.ycombinator.com | 2024-07-12

    There's also https://github.com/abice/go-enum, which I decided to use after evaluating multiple such tools a while ago, but I don't remember exactly why it came out on top for me. Also, both (and others) have evolved since then, so things might have changed.

    One nice thing go-enum does is to even generate the consts, just from a list of values in a comment.

  8. goverter

    Generate type-safe Go converters by defining function signatures.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. interfaces

    Code generation tools for Go. (by rjeczalik)

  11. w3

    Enhanced Ethereum Integration for Go

  12. pkgreflect

    A Go preprocessor for package scoped reflection

  13. gotype

    Golang source code parsing, usage like reflect package

  14. efaceconv

  15. go-xray

    Helpers for making the use of reflection easier

  16. knoa

    A handy and powerful library to deal with unstructured data

  17. typeregistry

    create type dynamically in Golang

  18. glinq

    Go port of DotNet LINQ using generics introduced in Go 1.18

    Project mention: Fun with Go Iterators | news.ycombinator.com | 2024-10-10

    Here's one: https://github.com/szmcdull/glinq It doesn't do function chaining though.

  19. Anakin

    Codegeneration tool for isomorphic server and mobile Go apps with gRPC & Protobuf. Share code between your backend, Android & iOS app! :sun_with_face: (by kbiakov)

  20. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Go Generation and Generics discussion

Log in or Post with

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,573
2 jennifer 3,484
3 gen 1,427
4 goderive 1,257
5 GoWrap 1,192
6 go-enum 824
7 goverter 677
8 interfaces 430
9 w3 197
10 pkgreflect 105
11 gotype 62
12 efaceconv 48
13 go-xray 28
14 knoa 27
15 typeregistry 23
16 glinq 21
17 Anakin 17

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Go is
the 4th most popular programming language
based on number of references?