Categories

Data Structures and Algorithms

Repos

382

Stars

259,666

30 days

+837

Miscellaneous Data Structures and Algorithms

esimov

A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library.

Created Mar 2022

data-structures datastructures functional functional-programming generics
Total 109
30 days +0
nwillc

Go 1.18+ polymorphic generic containers and functions.

Created Dec 2021

generics go golang
Total 51
30 days +0

Queues

adrianbrad

Thread-safe generic queue library for Go: blocking, priority, circular (ring buffer), linked FIFO and delay queues

Created Sep 2022

blocking-queue circular-queue concurrency data-structures delay-queue
Total 372
30 days +4

Sets

deckarep

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

Created Jul 2013

concurrency datastructures generics go golang
Total 4,783
30 days +12

More

zyedidia

A collection of generic data structures written in Go.

Created Dec 2021

data-structures generics go
Total 1,355
30 days +4
bytedance

🔥gg is a basic library of generics for Go language developed by ByteDance. It is based on the Go 1.18+ generic features and provides efficient, type-safe and rich generic data structures and tool functions.

Created May 2025

generics go golang
Total 403
30 days +2
autom8ter

dagger is a fast, concurrency safe, mutable, in-memory directed graph library. Also includes a number of generic, concurrency safe data-structures

Created Oct 2020

concurrency directed-acyclic-graph generics golang golang-library
Total 327
30 days +0
a8m

A typed implementation of the Go sync.Map using code generation

Created May 2019

code-generation concurrent-map generics go map
Total 256
30 days +0
hashicorp

The go-set package provides generic Set implementations for Go, including HashSet for types with a Hash() function and TreeSet for orderable data

Created Jul 2022

generics go golang golang-library hashset
Total 184
30 days +1
golang-design

⚡️ Lock-free and wait-free concurrent data structures for Go

Created Dec 2018

algorithms concurrency data-structures generics go
Total 176
30 days +2
PeterRK

fastest generic sort for slices in golang

Created Nov 2021

generics go golang high-performance sort
Total 134
30 days +1
hedzr

Lock-free MPMC Ring Buffer (Generic) for SMP, in golang. Some posts in chinese:

Created Jul 2020

circular-buffer circular-queue generic-programming generics go
Total 113
30 days +0
smallnest

Experimental packages not in std and golang.org/exp

Created Jun 2023

collections container generic generics go
Total 78
30 days +0
Soft

iter is a generic iterator library for Go

Created Feb 2022

generics go golang golang-library iteration
Total 72
30 days +0
dolthub

Golang port of Abseil's SwissTable

Created Feb 2023 Archived

abseil asm collection data-structures generics
Total 822
30 days +1

From awesome-go (MIT), plus repos sorted by Jev.