Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Value ¶
func ValueOf ¶
ValueOf returns a new Value initialized to the concrete value stored in the interface i. ValueOf(nil) returns the zero Value.
func (Value) FindFieldFromTag ¶
FindFieldFromTag returns the field value by tag name and tag value. It returns the zero Value if not found or the type is not struct.
func (Value) IndirectKind ¶
IndirectKind returns the kind of the element if the type is a pointer type. Otherwise, it returns the kind of the type directly.
func (Value) IndirectType ¶
IndirectType returns the type of the element if the type is a pointer type. Otherwise, it returns the type directly.
Click to show internal directories.
Click to hide internal directories.