About 130,000 results
Open links in new tab
  1. Go maps in action - The Go Programming Language

    Feb 6, 2013 · There’s no need to use the two-value form to test for the presence of n in the map; the zero value default does it for us. Another instance of helpful zero values is a map of slices.

  2. : Maps - Go by Example

    : Maps ... Note that maps appear in the form map[k:v k:v] when printed with fmt.Println. $ go run maps.go map: map[k1:7 k2:13] v1: 7 v3: 0 len: 2 map: map[k1:7] map: map[] prs: false map: …

  3. Golang Maps - GeeksforGeeks

    Oct 29, 2024 · In Go (Golang), a map is a powerful and versatile data structure that acts as a collection of unordered key-value pairs. Maps are widely used due to their efficiency in providing fast lookups, …

  4. Go Maps - W3Schools

    Each element in a map is a key:value pair. A map is an unordered and changeable collection that does not allow duplicates. The length of a map is the number of its elements. You can find it using the …

  5. Go map (With Examples) - Programiz

    Golang map allows us to store elements in key/values pairs. In this tutorial, you'll learn about maps in Go with the help of examples.

  6. Go (Golang) Maps Explained - phoenixNAP

    Jul 31, 2025 · Find out how Go (golang) maps work and when to use them for fast in-memory storage, with a set of practical examples.

  7. Working with Maps in Go - ZetCode

    May 4, 2025 · Learn how to work with maps in Go. Includes examples of creating, accessing, and modifying maps.

  8. Go Maps - Includehelp.com

    May 27, 2025 · Learn how maps work in Go (Golang). Learn how to create, use, and manage key-value pairs easily with real examples and clear explanations.

  9. maps package - maps - Go Packages

    Dec 2, 2025 · Package maps defines various functions useful with maps of any type. This package does not have any special handling for non-reflexive keys (keys k where k != k), such as floating-point NaNs.

  10. An In-Depth Guide to Maps in Golang - TheLinuxCode

    Dec 27, 2023 · Maps are a critical data structure in Go that enable fast, efficient storage and retrieval of key-value pairs. In this comprehensive guide, you‘ll learn all about creating, accessing, modifying …