Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetValueAndType ¶
Get the underlying value of v even if it is a pointer. Returns nil and type of kind reflect.Ptr if it is nil pointer
func Normalize ¶
func Normalize(v interface{}) (interface{}, error)
Converts all value types into their standard type
i.e int64 to int, or structs to maps
func ProcessTag ¶
Process the struct tag and return both the first value (key to use in document) and either to omitempty the field associated with the tag
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.