Essential Go Reflection  Suggest an edit

reflect.Kind

Function Kind() on reflect.Value returns reflect.Kind type describing type of the value.

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
    Ptr
    Slice
    String
    Struct
    UnsafePointer
)
  ↑ ↓ to navigate     ↵ to select     Esc to close