Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindStructField ¶
func FindStructField(sType reflect.Type, matcher func(t reflect.StructField) bool) (ret reflect.StructField, found bool)
FindStructField recursively find field that matching the given matcher, including embedded fields
func IsExportedField ¶
func IsExportedField(f reflect.StructField) bool
func ListStructField ¶
func ListStructField(sType reflect.Type, matcher func(t reflect.StructField) bool) (ret []reflect.StructField)
ListStructField recursively find all fields that matching the given matcher, including embedded fields
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.