maputil

package
v0.1.926 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenameKey

func RenameKey(m map[string][]string, oldKey, newKey string)

RenameKey renames a key in a map,preserving its values. If oldKey is not found,the map remains unchanged. To rename multiple keys,call this function multiple times.

Types

This section is empty.

Jump to

Keyboard shortcuts

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