Help us shape the future of Go! Take the 2026 Go Developer Survey

flatmap

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2019 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flatten

func Flatten(obj interface{}, filter []string, primitiveOnly bool) map[string]string

Flatten takes an object and returns a flat map of the object. The keys of the map is the path of the field names until a primitive field is reached and the value is a string representation of the terminal field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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