util

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapCopy

func MapCopy(src map[string]string) map[string]string

MapCopy makes (shallow) copy of src map

func MapEqual

func MapEqual(a, b map[string]string) bool

MapEqual compares maps for equality

func MapFilterByKeys

func MapFilterByKeys(m map[string]string, keys []string) map[string]string

MapFilterByKeys returns a new map that contains keys from the keys array existing in the m map.

func MapMerge

func MapMerge(ms ...map[string]string) map[string]string

MapMerge merges maps ms from left to right with overwriting existing keys

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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