Documentation ¶
Index ¶
- Variables
- func FuncHasReturn(t reflect.Type) bool
- func GetFunctionParamType(t reflect.Type, index uint8) reflect.Type
- func IsBasic(t reflect.Type) bool
- func IsBasicMap(t reflect.Type) bool
- func IsBasicPointer(vt reflect.Type) bool
- func IsBasicSlice(t reflect.Type) bool
- func IsByteSlice(t reflect.Type) bool
- func IsFunction(t reflect.Type) bool
- func IsInterface(t reflect.Type) bool
- func IsNil(v *reflect.Value) bool
- func IsNumeric(t reflect.Type) bool
- func IsNumericKind(k reflect.Kind) bool
- func IsPointer(t reflect.Type) bool
- func IsPrimitiveKind(k reflect.Kind) bool
- func IsSlice(t reflect.Type) bool
- func IsString(t reflect.Type) bool
- func IsTime(t reflect.Type) bool
- func IsUnmarshaler(t reflect.Type, ut reflect.Type) bool
- func IsUnmarshalerMap(t, ut reflect.Type) bool
- func IsUnmarshalerSlice(t, ut reflect.Type) bool
- func IsUnmarshalerSliceMap(t, ut reflect.Type) bool
- func RootType(vt reflect.Type) reflect.Type
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorType = reflect.TypeOf((*error)(nil)).Elem()
Functions ¶
func FuncHasReturn ¶
func IsBasicMap ¶
IsBasicMap tests whether the given type represents a map with a key of a basic built-in type to a value of one of a basic type, a pointer to a basic type, or a slice of basic type values.
func IsBasicPointer ¶
IsBasicPointer tests whether the given type is a pointer to a basic built-in type.
func IsBasicSlice ¶
func IsByteSlice ¶
func IsFunction ¶
func IsInterface ¶
func IsNumericKind ¶
func IsPrimitiveKind ¶ added in v1.4.4
func IsUnmarshalerMap ¶ added in v1.2.0
func IsUnmarshalerSlice ¶ added in v1.2.0
func IsUnmarshalerSliceMap ¶ added in v1.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.