Hacker GitHub

← All repos

zyedidia/generic

View on GitHub ↗ ★ 1,354 Go

A collection of generic data structures written in Go.

5 mentions on Hacker News by 5 people: 2 stories, 3 comments · first 2021-12-19 · latest 2025-12-20

Mentions per year 5 mentions · busiest year 2021 (2)
20082026
  1. e.g. https://pkg.go.dev/github.com/zyedidia/generic/mapset
  2. Not sure how I didn't find this before, but https://github.com/zyedidia/generic looks like a decent library. Although there are some decent libraries out there for this kind of thing, my complaint mostly stems from the fact that a lot of…
    comment by retrodaredevil · 2025-01-08 · in Go Is a Well-Designed Language
  3. I recently saw a go generic data structures library in the wild: https://github.com/zyedidia/generic . Anyone have any more? I'm curious what people come up with for goroutines/channels.
    comment by parhamn · 2021-12-22 · in Generics facilitators in Go