SHORTLIST20
日本語
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
プログラミング

Go (Golang) data structure and algorithm libraries

Generic collections, trees, queues and algorithms for Go, ranked by GitHub stars

更新 · GitHub stars (stars)

なぜこの20か

Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.

このリストは役に立ちましたか?
  1. 1

    gods

    Go Data Structures. Containers, Sets, Lists, Stacks, Maps, BidiMaps, Trees, HashSet etc.

    17,453 stars 1,816 forkslast push 2025-03-12GoNOASSERTION

  2. 2

    bleve

    Modern text indexing library for go.

    11,258 stars 724 forkslast push 2026-11-19GoApache-2.0

  3. 3

    hatchet

    Distributed, Fault-tolerant task queue.

    8,323 stars 540 forkslast push 2026-11-20GoMIT

  4. 4

    go-datastructures

    Collection of useful, performant, and thread-safe data structures.

    7,971 stars 851 forkslast push 2026-10-01GoApache-2.0

  5. 5

    golang-set

    Thread-Safe and Non-Thread-Safe high-performance sets for Go.

    4,781 stars 295 forkslast push 2026-10-02GoNOASSERTION

  6. 6

    roaring

    Go package implementing compressed bitsets.

    2,953 stars 264 forkslast push 2026-11-12GoApache-2.0

  7. 7

    bits-and-blooms/bloom

    Go package implementing Bloom filters.

    2,836 stars 261 forkslast push 2026-11-19GoBSD-2-Clause

  8. 8

    xsync

    Concurrent scalable data structures like, a concurrent generic hash table.

    1,737 stars 76 forkslast push 2026-09-27GoApache-2.0

  9. 9

    boomfilters

    Probabilistic data structures for processing continuous, unbounded streams.

    1,645 stars 119 forkslast push 2025-11-17GoApache-2.0

  10. 10

    bitset

    Go package implementing bitsets.

    1,514 stars 196 forkslast push 2026-11-19GoBSD-3-Clause

  11. 11

    cuckoofilter

    Cuckoo filter: a good alternative to a counting bloom filter implemented in Go.

    1,233 stars 120 forkslast push 2024-07-15GoMIT

  12. 12

    gostl

    Data structure and algorithm library for go, designed to provide functions similar to C++ STL.

    1,143 stars 116 forkslast push 2025-08-28GoMIT

  13. 13

    hyperloglog

    HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction.

    1,059 stars 87 forkslast push 2026-10-24GoMIT

  14. 14

    algorithms

    Algorithms and data structures.CLRS study.

    843 stars 122 forkslast push 2021-03-17GoMIT

  15. 15

    trie

    Trie implementation in Go.

    796 stars 118 forkslast push 2026-10-16GoMIT

  16. 16

    gammazero/deque

    Fast ring-buffer deque (double-ended queue).

    791 stars 72 forkslast push 2026-11-14GoMIT

  17. 17

    go-edlib

    Go string comparison and edit distance algorithms library (Levenshtein, LCS, Hamming, Damerau levenshtein, Jaro-Winkler, etc.) compatible with Unicode.

    605 stars 31 forkslast push 2026-02-05GoMIT

  18. 18

    agnivade/levenshtein

    Implementation to calculate levenshtein distance in Go.

    482 stars 36 forkslast push 2026-10-17GoMIT

  19. 19

    goconcurrentqueue

    Concurrent FIFO queue.

    433 stars 35 forkslast push 2023-05-12GoMIT

  20. 20

    huandu/skiplist

    Fast and easy-to-use skip list for Go.

    427 stars 68 forkslast push 2024-09-23GoMIT

測り方

Every tool in the Data Structures and Algorithms section(s) of the community list avelino/awesome-go on GitHub with a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Added by the daily list generator.

参考資料

  1. avelino/awesome-go: Data Structures and Algorithms, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-20 21:54 UTC.
  2. avelino/awesome-go (Data Structures and Algorithms), GitHub community list, 90 tools with a public repository.