reflect.Type.Kind (method)
74 uses
reflect (current package)
deepequal.go#L109: if v1.Type().Elem().Kind() == Uint8 {
makefunc.go#L47: if typ.Kind() != Func {
type.go#L103: Kind() Kind
type.go#L891: return t.Elem().Kind() == Array
type.go#L919: return t.Elem().Kind() == Array
type.go#L1150: if ft.Kind() == Pointer && ft.Elem().Kind() == Struct {
type.go#L1383: if u.Kind() != Interface {
type.go#L1913: if variadic && (len(in) == 0 || in[len(in)-1].Kind() != Slice) {
type.go#L2299: switch t.Kind() {
value.go#L2341: if toRType(v.typ()).Elem().Kind() != Uint8 { // TODO add Elem method, fix mustBe(Slice) to return slice.
value.go#L3206: if typ.Kind() != Slice {
value.go#L3235: if typ.Kind() != Chan {
value.go#L3257: if typ.Kind() != Map {
value.go#L3400: case vt.Kind() == Slice && t.Kind() == Array:
value.go#L3404: case vt.Kind() == Slice && t.Kind() == Pointer && t.Elem().Kind() == Array:
value.go#L3424: switch v.Type().Elem().Kind() {
value.go#L3735: if v.Type().Kind() == Float32 && t.Kind() == Float32 {
visiblefields.go#L20: if t.Kind() != Struct {
visiblefields.go#L95: if f.Type.Kind() == Pointer {
visiblefields.go#L98: if f.Type.Kind() == Struct {
database/sql/driver
types.go#L286: ek := rv.Type().Elem().Kind()
encoding/asn1
asn1.go#L691: if ifaceType := fieldType; ifaceType.Kind() == reflect.Interface && ifaceType.NumMethod() == 0 {
asn1.go#L949: if sliceType.Elem().Kind() == reflect.Uint8 {
asn1.go#L1106: if e.Type.Kind() != reflect.Pointer {
common.go#L166: switch t.Kind() {
common.go#L174: if t.Elem().Kind() == reflect.Uint8 {
marshal.go#L534: if sliceType.Elem().Kind() == reflect.Uint8 {
encoding/binary
binary.go#L690: if t.Kind() == reflect.Struct {
binary.go#L716: switch t.Kind() {
encoding/json
decode.go#L165: if e.Type.Kind() != reflect.Pointer {
decode.go#L631: switch t.Key().Kind() {
decode.go#L772: switch kt.Kind() {
decode.go#L934: if v.Type().Elem().Kind() != reflect.Uint8 {
encode.go#L384: if t.Kind() != reflect.Pointer && allowAddr && reflect.PointerTo(t).Implements(marshalerType) {
encode.go#L390: if t.Kind() != reflect.Pointer && allowAddr && reflect.PointerTo(t).Implements(textMarshalerType) {
encode.go#L397: switch t.Kind() {
encode.go#L779: switch t.Key().Kind() {
encode.go#L837: if t.Elem().Kind() == reflect.Uint8 {
encode.go#L934: if t.Kind() == reflect.Pointer {
encode.go#L1101: if t.Kind() == reflect.Pointer {
encode.go#L1104: if !sf.IsExported() && t.Kind() != reflect.Struct {
encode.go#L1127: if ft.Name() == "" && ft.Kind() == reflect.Pointer {
encode.go#L1135: switch ft.Kind() {
encode.go#L1146: if name != "" || !sf.Anonymous || ft.Kind() != reflect.Struct {
fmt
print.go#L873: if t.Elem().Kind() == reflect.Uint8 {
print.go#L1203: isString := arg != nil && reflect.TypeOf(arg).Kind() == reflect.String
scan.go#L1036: if typ.Elem().Kind() != reflect.Uint8 {
github.com/oapi-codegen/runtime
bindform.go#L179: if field.Name == "AdditionalProperties" && field.Type.Kind() == reflect.Map && tag == "-" {
bindparam.go#L112: if t.Kind() == reflect.Struct {
bindparam.go#L123: if t.Kind() == reflect.Slice {
bindparam.go#L351: k := t.Kind()
bindparam.go#L493: if t.Kind() != reflect.Struct {
bindstring.go#L40: if t.Kind() == reflect.Ptr {
bindstring.go#L46: if t.Kind() == reflect.Ptr {
bindstring.go#L61: switch t.Kind() {
bindstring.go#L67: err = fmt.Errorf("value '%s' overflows destination of type: %s", src, t.Kind())
bindstring.go#L78: err = fmt.Errorf("value '%s' overflows destination of type: %s", src, t.Kind())
bindstring.go#L90: err = fmt.Errorf("value '%s' overflows destination of type: %s", src, t.Kind())
bindstring.go#L168: err = fmt.Errorf("can not bind to destination of type: %s", t.Kind())
deepobject.go#L181: if t.Kind() != reflect.Struct {
deepobject.go#L202: switch it.Kind() {
styleparam.go#L62: if t.Kind() == reflect.Ptr {
styleparam.go#L89: switch t.Kind() {
styleparam.go#L271: if f.Type().Kind() == reflect.Ptr && f.IsNil() {
styleparam.go#L410: kind := t.Kind()
internal/fmtsort
sort.go#L50: if mapValue.Type().Kind() != reflect.Map {
net/http
h2_error.go#L16: if dstType.Kind() != reflect.Struct {
transport.go#L382: if rv := reflect.ValueOf(altProto["https"]); rv.IsValid() && rv.Type().Kind() == reflect.Struct && rv.Type().NumField() == 1 {
net/http/httptrace
trace.go#L185: if hookType.Kind() != reflect.Func {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |