flatmap

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(m bundle.KV, key string) interface{}

Expand takes a map and a key (prefix) and expands that value into a more complex structure. This is the reverse of the Flatten operation.

func Flatten

func Flatten(thing map[string]interface{}) map[string]bundle.KV

Flatten takes a structure and turns into a flat map[string]string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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