Documentation ¶
Index ¶
- func Convert(t reflect.Type, v reflect.Value) (ret reflect.Value, ok bool, retErr error)
- func ConvertInterface(t reflect.Type, v interface{}) (interface{}, bool, error)
- func ConvertString(v reflect.Value) (string, error)
- func ConvertStrings(v reflect.Value) ([]string, error)
- func ConvertStringsMap(v reflect.Value) (map[string][]string, error)
- func Elem(v reflect.Value) reflect.Value
- func Set(target, v reflect.Value) (retErr error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertInterface ¶ added in v0.8.0
ConvertInterface returns the value v converted to type t.
func ConvertString ¶ added in v0.8.1
ConvertString converts v to string.
func ConvertStrings ¶ added in v0.8.1
ConvertStrings converts v to []string.
func ConvertStringsMap ¶
ConvertStringsMap converts map[string]string to map[string][]string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.