Versions in this module Expand all Collapse all v1 v1.0.2 Mar 26, 2021 Changes in this version + func FlattenObjects(nested map[string]interface{}, prefix string, style SeparatorStyle) (map[string]interface{}, error) + type Flattener struct + func DefaultFlattener() *Flattener + func ObjectFlattener() *Flattener + func (f *Flattener) Flatten(nested map[string]interface{}, prefix string, style SeparatorStyle) (map[string]interface{}, error) + type FlattenerFunc func(nested map[string]interface{}, prefix string, style SeparatorStyle) (map[string]interface{}, error) v1.0.1 Nov 4, 2019 Changes in this version + var DotStyle = SeparatorStyle + var NotValidInputError = errors.New("Not a valid input: map or slice") + var NotValidJsonInputError = errors.New("Not a valid input, must be a map") + var PathStyle = SeparatorStyle + var RailsStyle = SeparatorStyle + var UnderscoreStyle = SeparatorStyle + func Flatten(nested map[string]interface{}, prefix string, style SeparatorStyle) (map[string]interface{}, error) + func FlattenString(nestedstr, prefix string, style SeparatorStyle) (string, error) + type SeparatorStyle struct + After string + Before string + Middle string