reflect.Kind
suggest changeKind on a reflect.Value returns a reflect.Kind, the value's category, such as Int or Slice. That is not the same as its reflect.Type.
Here are all possible values:
type Kind uint
const (
Invalid Kind = iota
Bool
Int
Int8
Int16
Int32
Int64
Uint
Uint8
Uint16
Uint32
Uint64
Uintptr
Float32
Float64
Complex64
Complex128
Array
Chan
Func
Interface
Map
Pointer
Slice
String
Struct
UnsafePointer
)
reflect.Ptr is another name for reflect.Pointer.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents