//
pkg.gl
Category
github.com/hashicorp/terraform-plugin-sdk
internal
flatmap
package
1.17.2
Repository:
https://github.com/hashicorp/terraform-plugin-sdk.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
2
Files
261 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).