//
pkg.gl
Category
github.com/ves/terraform
flatmap
package
0.8.0-beta2
Repository:
https://github.com/ves/terraform.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
0
Files
183 SLOC
#
Functions
Expand
Expand takes a map and a key (prefix) and expands that value into a more complex structure.
Flatten
Flatten takes a structure and turns into a flat map[string]string.
#
Type aliases
Map
Map is a wrapper around map[string]string that provides some helpers above it that assume the map is in the format that flatmap expects (the result of Flatten).