Documentation ¶
Index ¶
- Variables
- func IndirectInterface(v interface{}) (indirect interface{}, ok bool)
- func IndirectType(v interface{}) reflect.Type
- func IndirectValue(v interface{}, mustSet bool) (reflect.Value, gomerr.Gomerr)
- func ReadableIndirectValue(v interface{}) (indirectValue reflect.Value, ok bool)
- func SetValue(targetValue reflect.Value, value interface{}) gomerr.Gomerr
- func StringToType(valueString string, targetType reflect.Type) (interface{}, gomerr.Gomerr)
Constants ¶
This section is empty.
Variables ¶
View Source
var ZeroVal = zeroVal{}
Functions ¶
func IndirectInterface ¶
func IndirectInterface(v interface{}) (indirect interface{}, ok bool)
func IndirectType ¶
func ReadableIndirectValue ¶
func StringToType ¶
StringToType returns a value corresponding to the provided targetType. If the targetType isn't recognized, this returns nil rather than an error. An error occurs if the targetType is recognized, but it's not possible to convert the string into that type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.