Documentation ¶
Index ¶
- func GetFieldTagsForType(type_ reflect.Type, name string) map[string]string
- func GetFieldTagsForValue(value reflect.Value, name string) map[string]string
- func GetFunctionName(fn interface{}) string
- func GetReferredField(entity reflect.Value, referenceFieldName string, referredFieldName string) (reflect.Value, reflect.Value, bool)
- func GetStructFields(type_ reflect.Type) []reflect.StructField
- func GetTaggedFields(structPtr interface{}, name string) []reflect.Value
- func IsMapOfStringToPtrToStruct(type_ reflect.Type) bool
- func IsNil(value reflect.Value) bool
- func IsPtrToBool(value interface{}) bool
- func IsPtrToFloat64(value interface{}) bool
- func IsPtrToInt64(value interface{}) bool
- func IsPtrToMapOfStringToString(value interface{}) bool
- func IsPtrToSliceOfString(value interface{}) bool
- func IsPtrToString(value interface{}) bool
- func IsPtrToStruct(type_ reflect.Type) bool
- func IsSliceOfPtrToStruct(type_ reflect.Type) bool
- func IsZero(value reflect.Value) bool
- func Traverse(object interface{}, traverse Traverser)
- type Traverser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFieldTagsForType ¶
func GetFieldTagsForValue ¶
func GetFunctionName ¶
func GetFunctionName(fn interface{}) string
func GetReferredField ¶
func GetStructFields ¶
func GetStructFields(type_ reflect.Type) []reflect.StructField
Includes fields "inherited" from anonymous struct pointer fields The order of field definition is important! Later fields will override previous fields
func GetTaggedFields ¶
func IsMapOfStringToPtrToStruct ¶
Compatible with map[string]*struct{}
func IsPtrToMapOfStringToString ¶
func IsPtrToMapOfStringToString(value interface{}) bool
*map[string]string
func IsSliceOfPtrToStruct ¶
Compatible with []*struct{}
Types ¶
Click to show internal directories.
Click to hide internal directories.