Documentation
¶
Overview ¶
Package adapt provides functions to check vars interface{} type and convert interface{} to basic types: bool, int, string.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
Bool convert v interface{} into bool. If v can't be converted - return ge.MismatchError{}
func Check ¶
Check compares reflect.Value with a string representation of the expected type. If the type does not match the expected one, the ge.MismatchError{} error is returned
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.