Documentation ¶
Index ¶
- func Name(obj interface{}) string
- func Properties(obj interface{}) ([]string, error)
- func PropertiesAsMap(obj interface{}) (map[string]interface{}, error)
- func Property(obj interface{}, fieldName string) (interface{}, error)
- func Tags(obj interface{}, tagname string) (map[string]string, error)
- type KeyValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Properties ¶
Properties returns the struct fields names list. obj can whether be a structure or pointer to structure.
func PropertiesAsMap ¶
PropertiesAsMap returns the properties of an item as a map
Types ¶
Click to show internal directories.
Click to hide internal directories.