flat package - github.com/omeid/uconfig/flat - Go Packages
Package flat provides a flat view of an arbitrary nested structs.
This section is empty.
ErrUnexpectedType is returned when flatten sees an unsupported type.
This section is empty.
Field describe an interface to our flat structs fields.
Fields is a slice of Field.
View provides a flat view of the provided structs an array of fields. sub-struct fields are prefixed with the struct key (not type) followed by a dot, this is repeated for each nested level.