reflect.Type.Kind (method)
62 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#L1007: if ft.Kind() == Pointer && ft.Elem().Kind() == Struct {
type.go#L1242: if u.Kind() != Interface {
type.go#L1752: if variadic && (len(in) == 0 || in[len(in)-1].Kind() != Slice) {
value.go#L2285: if toRType(v.typ()).Elem().Kind() != Uint8 { // TODO add Elem method, fix mustBe(Slice) to return slice.
value.go#L3134: if typ.Kind() != Slice {
value.go#L3153: if typ.Kind() != Chan {
value.go#L3175: if typ.Kind() != Map {
value.go#L3334: case vt.Kind() == Slice && t.Kind() == Array:
value.go#L3338: case vt.Kind() == Slice && t.Kind() == Pointer && t.Elem().Kind() == Array:
value.go#L3358: switch v.Type().Elem().Kind() {
value.go#L3669: 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 {
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#L1107: if e.Type.Kind() != reflect.Pointer {
common.go#L166: switch t.Kind() {
common.go#L174: if t.Elem().Kind() == reflect.Uint8 {
marshal.go#L537: if sliceType.Elem().Kind() == reflect.Uint8 {
encoding/binary
binary.go#L503: switch t.Kind() {
binary.go#L713: switch v.Type().Kind() {
binary.go#L725: switch v.Type().Kind() {
binary.go#L737: switch v.Type().Kind() {
binary.go#L745: switch v.Type().Kind() {
encoding/json
decode.go#L165: if e.Type.Kind() != reflect.Pointer {
decode.go#L631: switch t.Key().Kind() {
decode.go#L772: case kt.Kind() == reflect.String:
decode.go#L775: switch kt.Kind() {
decode.go#L932: if v.Type().Elem().Kind() != reflect.Uint8 {
encode.go#L385: if t.Kind() != reflect.Pointer && allowAddr && reflect.PointerTo(t).Implements(marshalerType) {
encode.go#L391: if t.Kind() != reflect.Pointer && allowAddr && reflect.PointerTo(t).Implements(textMarshalerType) {
encode.go#L398: switch t.Kind() {
encode.go#L766: switch t.Key().Kind() {
encode.go#L828: if t.Elem().Kind() == reflect.Uint8 {
encode.go#L925: if t.Kind() == reflect.Pointer {
encode.go#L1102: if t.Kind() == reflect.Pointer {
encode.go#L1105: if !sf.IsExported() && t.Kind() != reflect.Struct {
encode.go#L1128: if ft.Name() == "" && ft.Kind() == reflect.Pointer {
encode.go#L1136: switch ft.Kind() {
encode.go#L1147: if name != "" || !sf.Anonymous || ft.Kind() != reflect.Struct {
flag
flag.go#L544: if typ.Kind() == reflect.Pointer {
flag.go#L554: if typ.Kind() == reflect.Pointer {
fmt
print.go#L873: if t.Elem().Kind() == reflect.Uint8 {
print.go#L1206: isString := arg != nil && reflect.TypeOf(arg).Kind() == reflect.String
scan.go#L1036: if typ.Elem().Kind() != reflect.Uint8 {
go.opentelemetry.io/otel/internal/attribute
attribute.go#L60: if rv.Type().Kind() != reflect.Array {
attribute.go#L74: if rv.Type().Kind() != reflect.Array {
attribute.go#L88: if rv.Type().Kind() != reflect.Array {
attribute.go#L102: if rv.Type().Kind() != reflect.Array {
internal/fmtsort
sort.go#L52: if mapValue.Type().Kind() != reflect.Map {
net/http
h2_error.go#L17: 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.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |