Any major projects using generics?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • lo

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

    I'm not sure what you mean with "major" but I've been using https://github.com/samber/lo more often than I expected when I first heard about it.

  • SaaSHub

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

    SaaSHub logo
  • graph

    A library for creating generic graph data structures and modifying, analyzing, and visualizing them.

    Not a major project, but my purely generic graph library gained some traction recently.

  • connect-go

    Discontinued Moved to https://github.com/connectrpc/connect-go

  • core

    Discontinued Backend server API handling user mgmt, database, storage and real-time component (by staticbackendhq)

    it depend what "major" means, I use them in my Firebase alternative Go project and in the go package: https://pkg.go.dev/github.com/staticbackendhq/core/backend

  • surf

    CLI Text Search across your infrastructure platforms, Universal Ctrl+F for infra (by Isan-Rivkin)

    I created this project and its using generics https://github.com/Isan-Rivkin/surf

  • golang-set

    A simple, battle-tested and generic set type for the Go language. Trusted by Docker, 1Password, Ethereum and Hashicorp.

    golang-set is a set implementation used by docker, ethereum and others. 2.8k stars on GitHub. Pretty popular project. Not sure if it counts as major. https://github.com/deckarep/golang-set

  • concurrent-map

    a thread-safe concurrent map for go

    For libraries I use at work, cmap has a v2 using generics. I think that's a fairly widely used library. The events library we use is updated, but not released. When I get a chance, planning on looking on moving to hooks, which does have released generics support.

  • go-events

    :mega: Pure nodejs EventEmmiter for the Go Programming Language.

    For libraries I use at work, cmap has a v2 using generics. I think that's a fairly widely used library. The events library we use is updated, but not released. When I get a chance, planning on looking on moving to hooks, which does have released generics support.

  • hooks

    Simple, type-safe hook system to enable easier modularization of your Go code. (by mikestefanello)

    For libraries I use at work, cmap has a v2 using generics. I think that's a fairly widely used library. The events library we use is updated, but not released. When I get a chance, planning on looking on moving to hooks, which does have released generics support.

  • test

    A modern generic testing assertions library for Go (by shoenig)

    https://github.com/shoenig/test is a test case assertions library (like testify) centered around generics

  • verify

    Extensible, type-safe, fluent assertion Go library. (by fluentassert)

    https://github.com/fluentassert/verify another assertion library

  • btree

    BTree provides a simple, ordered, in-memory data structure for Go programs.

  • gocache

    ☔️ A complete Go cache library that brings you multiple ways of managing your caches

    We are using https://github.com/eko/gocache in production projects.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Learning Go by examples: part 6 - Create a gRPC app in Go

    7 projects | dev.to | 18 Aug 2021
  • FIFO queue: channels VS container/list

    1 project | /r/golang | 27 Apr 2021
  • Show HN: Rill – Composable concurrency toolkit for Go

    13 projects | news.ycombinator.com | 25 Nov 2024
  • Functional Programming in Go

    2 projects | news.ycombinator.com | 8 Nov 2024
  • Building a RESTful API with Go Fiber: An Express-Inspired Boilerplate

    13 projects | dev.to | 5 Oct 2024

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