reflect.Kind

suggest change

Kind 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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents