Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { StructField reflect.StructField Value reflect.Value }
func ListAllFields ¶
ListAllFields takes in a reflect.Value of a struct, returns all of the fields for both struct field and the value. This function also extracts and flattens the anonymous fields nested inside.
Click to show internal directories.
Click to hide internal directories.