maps

package
v0.25.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2026 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package maps provides utility functions for working with maps in Go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal added in v0.24.8

func Equal[T comparable](map1 map[string]T, map2 map[string]T) bool

Equal returns TRUE if the two maps are identical, having the same items in the same order, with no alterations.

func Keys added in v0.22.0

func Keys[T cmp.Ordered, U any](value map[T]U) []T

Keys returns all keys of a map

func KeysSorted added in v0.22.0

func KeysSorted[T cmp.Ordered, U any](value map[T]U) []T

KeysSorted returns all keys of a map, sorted

func NotEqual added in v0.24.8

func NotEqual[T comparable](map1 map[string]T, map2 map[string]T) bool

NotEqual returns TRUE if the two maps are NOT identical

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL