Documentation ¶ Index ¶ func RenameKey(m map[string][]string, oldKey, newKey string) 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. Source Files ¶ View all Source files maputil.go Click to show internal directories. Click to hide internal directories.