Go Map

Open-source Go projects categorized as Map

Top 23 Go Map Projects

  • gods

    GoDS (Go Data Structures) - Sets, Lists, Stacks, Maps, Trees, Queues, and much more

    Project mention: How do you go about the lack of built in data structure like stack, queue for LeetCode | reddit.com/r/golang | 2023-05-24

    for len(stack) > 0 { n := len(stack) - 1 // Top element fmt.Print(stack[n]) stack = stack[:n] // Pop } ``` Another solution would be to import a package like https://github.com/emirpasic/gods

  • concurrent-map

    a thread-safe concurrent map for go

    Project mention: Any major projects using generics? | reddit.com/r/golang | 2022-10-31

    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.


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • hashmap

    A Golang lock-free thread-safe HashMap optimized for fastest read access.

    Project mention: SwissMap: A smaller, faster Golang Hash Table | news.ycombinator.com | 2023-03-31

    I generally just use this one: https://github.com/cornelk/hashmap

    Mostly in that it also gives me lock free performance, which cleans up a lot of defers.

  • haxmap

    Fastest and most memory efficient golang concurrent hashmap

    Project mention: hash/maphash is slow | reddit.com/r/golang | 2023-02-12

    It depends on the architecture like amd64 it’s naturally fast but for amd and the rest is kinda of slow because Go uses AES hashing algorithm upcoming they’re planning to change the hashing alg either xxhash or swisstable I recommend you use 3rd party maphash like https://github.com/alphadose/haxmap or any

  • defaults

    Initialize structs with default values (by creasty)

  • go-staticmaps

    A go (golang) library and command line tool to render static map images using OpenStreetMap tiles.

  • cachego

    Golang Cache component - Multiple drivers

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • functional-go

    This library is inspired by functional programming - Clojure

  • StrongDMM

    Robust map editor for BYOND

    Project mention: JVM port of randrew's layout - a simple/fast stacking box layout library for user interfaces. | reddit.com/r/java | 2022-09-10

    I see. Well, I was thinking about making a sort of builder layout implementation to create GUI in DSL way. I've made one for my another project https://github.com/SpaiR/StrongDMM/blob/main/src/imguiext/widget/button.go . It's in Golang, yet compatible with common Dear ImGui API. I'll consider about your library, since, unlike Stack Layout, it can be used around imgui, not inside of it. And thus it's more extendable.

  • pgo

    Go library for PHP community with convenient functions (by arthurkushman)

  • stream

    Go Stream, like Java 8 Stream. (by youthlin)

  • kvtiles

    Self hosted maps, MBTiles key value storage and server

    Project mention: Host your own OpenStreetMap Map Tiles | news.ycombinator.com | 2022-08-30

    Another option I've used, self-hosts vector tiles from an MBTiles database: https://github.com/akhenakh/kvtiles

  • timedmap

    A thread safe map which has expiring key-value pairs.

  • mercator

    OpenStreetMap but as terminal user interface (TUI) program

    Project mention: OpenStreetMap but as terminal user interface (TUI) program | news.ycombinator.com | 2023-01-17
  • xml2map

    XML to MAP converter written Golang

  • go-left-right

    A faster RWLock primitive in Go, 2-3 times faster than RWMutex. A Go implementation of concurrency control algorithm in paper <Left-Right - A Concurrency Control Technique with Wait-Free Population Oblivious Reads>

  • faststringmap

    A fast (5x) string keyed read-only map for Go - particularly good for keys using a small set of nearby runes.

  • shardmap

    A performant, highly concurrent and simple sharded hashmap implementation using generics

    Project mention: GitHub - chainbound/shardmap: A performant, highly concurrent and simple sharded &amp; FIFO hashmap implementation using generics | reddit.com/r/golang | 2022-11-02
  • treemap

    Generic sorted map for Go with red-black tree under the hood (by igrmk)

  • mapslice-json

    Go MapSlice for ordered marshal/ unmarshal of maps in JSON

  • msfs2020-gopilot

    Just another browser-based VFR map for Microsoft Flight Simulator 2020 (MSFS2020) using Golang

    Project mention: Is there a way I can bring my cafe map up on my laptop while I fly on my pc? | reddit.com/r/MicrosoftFlightSim | 2022-10-11

    Or, use something like this and browse to it on a web browser on your laptop

  • algo2

    Some algorithms written using Go generics.

  • web-mercator-projection

    A Go project to explore the math to calculate and present data in a map using the `Web Mercator Projection`

  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

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 2023-05-24.

Go Map related posts


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

Project Stars
1 gods 13,826
2 concurrent-map 3,723
3 hashmap 1,546
4 haxmap 740
5 defaults 591
6 go-staticmaps 308
7 cachego 269
8 functional-go 179
9 StrongDMM 90
10 pgo 79
11 stream 75
12 kvtiles 63
13 timedmap 60
14 mercator 56
15 xml2map 45
16 go-left-right 42
17 faststringmap 37
18 shardmap 28
19 treemap 27
20 mapslice-json 15
21 msfs2020-gopilot 14
22 algo2 5
23 web-mercator-projection 3
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.