Go Generics

Open-source Go projects categorized as Generics | Edit details

Top 23 Go Generic Projects

  • lo

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

    Project mention: Shaving 40% Off Google’s B-Tree Implementation with Go Generics | news.ycombinator.com | 2022-04-27
  • gomacro

    Interactive Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros

    Project mention: ".. beat the Crap out of ..", really liked that wording. You can't trump that. | reddit.com/r/linuxmasterrace | 2022-01-01

    Officially, it's not much scripting friendly, but there are unofficial support to make it a proper scripting option like the gomacro.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • pie

    🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance.

    Project mention: Generic slice utils? I just created | reddit.com/r/golang | 2022-03-22

    How does this library differ from lo or pie?

  • goderive

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

    Project mention: Derives mundane Golang functions that you do not want to maintain | news.ycombinator.com | 2022-02-15
  • ttlcache

    An in-memory cache with item expiration and generics (by jellydator)

    Project mention: v3 of ttlcache - an in-memory cache with item expiration and generics | reddit.com/r/golang | 2022-03-26
  • genesis

    All generic functions for Go 1.18 you ever need!

    Project mention: genesis: All generic functions for Go 1.18 you ever need! | reddit.com/r/coding | 2022-05-17
  • orm

    A lightweight yet powerful, fast, customizable, type-safe object-relational mapper for the Go programming language. (by golobby)

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • fx

    Fx is a useful functional programming helpers. (by nikgalushko)

    Project mention: fx: useful functional programming helpers without using interface{}, based on Go 1.18 generics | reddit.com/r/golang | 2021-12-19

    Hi folks. Go 1.18 is on its way. It will be a great release and special feature is strings.Cut generics. I wrote a library to help you simplify your code and get rid of boilerplate: https://github.com/nikgalushko/fx.

  • assert

    A simple assertion library using Go generics (by alecthomas)

    Project mention: alecthomas/assert: A minimalist type-safe drop-in replacement for testify/require | reddit.com/r/golang | 2022-04-09
  • async

    experimental promises in go1.18 with generics (by nkcmr)

    Project mention: Retrofitting Async/Await in Go 1.18 | dev.to | 2022-03-22

    // Taken from: https://github.com/nkcmr/async/blob/main/async.go type syncPromise[T any] struct { done chan struct{} v T err error } func (s *syncPromise[T]) Await(ctx context.Context) (T, error) { select { case

  • iter

    iter is a generic iterator library for Go (by Soft)

    Project mention: iter - Generic Iterators for Go 1.18 | reddit.com/r/golang | 2022-03-04
  • fixtory

    Type-safe, DRY, flexible test fixture factory based on Go 1.18+ Generics

    Project mention: Go 1.18+ Generics based Type-safe fixture factory! | reddit.com/r/golang | 2022-03-17
  • unusual_generics

    Collection of unusual generics usecases in Go

    Project mention: Unusual Generics: Collection of unusual generics use cases | news.ycombinator.com | 2021-10-02
  • genorm

    SQL Builder to prevent SQL mistakes using the Golang generics

    Project mention: GenORM v1.0.0 released - SQL Builder to prevent SQL mistakes using the Golang generics | reddit.com/r/golang | 2022-03-15
  • harmony

    Go's concurrency patterns as generic library to use. (by butuzov)

    Project mention: generic concurrent patterns library | reddit.com/r/golang | 2022-01-26
  • livegollection

    livegollection is a Golang library for live data synchronization between backend and frontend of a custom user-implemented collection. It's aimed for web applications since it works over websockets.

    Project mention: livegollection: a library for live data synchronization over websockets between the server and multiple web clients | reddit.com/r/golang | 2022-02-18

    I'd like to share with you my last open source project: livegollection.

  • gouf

    Most commonly used utility/helper functions for generic types in Go.

    Project mention: fx: useful functional programming helpers without using interface{}, based on Go 1.18 generics | reddit.com/r/golang | 2021-12-19
  • std

    An enhanced version of the standard library based the new Generics feature. (by go-board)

    Project mention: [Std] An enhanced std library write with generics | reddit.com/r/golang | 2022-05-13
  • validate

    🥬 validate. simply. (by nikolaydubina)

    Project mention: Validation library with Generics | reddit.com/r/golang | 2022-03-31
  • go-optional

    A library that provides Go Generics friendly "optional" features.

    Project mention: Published go-optional: Generics Go friendly optional/option type library | dev.to | 2021-11-18

    You can see the basic usage of this in the synopsis and examples. Currently, this brings the following utility option functions:

  • gen

    gen is a generic general use Go functions library with the intention of replacing duplicated code where the same functionality is needed across multiple types, and provides a common interface for the functionality. The library is designed to be used in a wide variety of projects and is designed to be easy to use. (by structsdev)

    Project mention: GitHub - structsdev/gen is a generic general use Go functions library with the intention of replacing duplicated code where the same functionality is needed across multiple types, and provides a common interface for the functionality. | reddit.com/r/golang | 2022-01-19
  • go-utils

    Simple and performant utilies using Go generics inspired by JavaScript and Python (by Goldziher)

    Project mention: A generics based go-utils library | reddit.com/r/golang | 2022-04-07

    Last week I published this open source package: https://github.com/Goldziher/go-utils

  • collection

    Generic data structures in Go (by isgj)

    Project mention: Generic lazy iterator | reddit.com/r/golang | 2022-04-03

    Hey, what do you think of this library I wrote https://github.com/isgj/collection

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 2022-05-17.

Go Generics related posts

Index

What are some of the best open-source Generic projects in Go? This list will help you:

Project Stars
1 lo 5,249
2 gomacro 1,838
3 pie 1,004
4 goderive 976
5 ttlcache 414
6 genesis 142
7 orm 85
8 fx 79
9 assert 69
10 async 56
11 iter 55
12 fixtory 53
13 unusual_generics 48
14 genorm 22
15 harmony 21
16 livegollection 20
17 gouf 18
18 std 15
19 validate 13
20 go-optional 12
21 gen 12
22 go-utils 11
23 collection 9
Find remote jobs at our new job board 99remotejobs.com. There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com