mapjuice

package
v1.22.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Description: The mapjuice package provides functions for working with maps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenameKey

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

RenameKey renames a key in a map.

If the oldKey does not exist, the map is not modified.

To modify 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