package
Version:
v0.6.1
Opens a new window with list of versions in this module.
Published: Feb 26, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Flatten(obj interface{}) (map[string]interface{}, error)
Flatten takes any object and turns it into a flat map[string]interface{}.
"obj" must be a map with keys that are strings. Values must be slices, maps,
primitives, or any combination of those together.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.