reflect.Type.Kind (method)
396 uses
reflect (current package)
deepequal.go#L109: if v1.Type().Elem().Kind() == Uint8 {
makefunc.go#L48: if typ.Kind() != Func {
type.go#L101: Kind() Kind
type.go#L1278: if ft.Kind() == Pointer && ft.Elem().Kind() == Struct {
type.go#L1500: if u.Kind() != Interface {
type.go#L1653: if T.Name() != V.Name() || T.Kind() != V.Kind() || T.PkgPath() != V.PkgPath() {
type.go#L2007: if variadic && (len(in) == 0 || in[len(in)-1].Kind() != Slice) {
type.go#L2481: if k := elem.Kind(); k == Pointer || k == Interface {
value.go#L292: if v.typ.Elem().Kind() != Uint8 {
value.go#L303: if v.typ.Elem().Kind() != Int32 {
value.go#L592: fl := flagIndir | flag(tv.Kind())
value.go#L609: ret[i] = Value{tv.common(), regArgs.Ptrs[steps[0].ireg], flag(tv.Kind())}
value.go#L640: ret[i] = Value{tv.common(), s, flagIndir | flag(tv.Kind())}
value.go#L1258: if v.Kind() == Pointer && v.typ.Elem().Kind() == Struct {
value.go#L1281: if v.Kind() == Ptr && v.typ.Elem().Kind() == Struct {
value.go#L2115: if v.typ.Elem().Kind() != Uint8 {
value.go#L2126: if v.typ.Elem().Kind() != Int32 {
value.go#L2695: stringCopy = sk == String && dst.typ.Elem().Kind() == Uint8
value.go#L2898: if typ.Kind() != Slice {
value.go#L2917: if typ.Kind() != Chan {
value.go#L2939: if typ.Kind() != Map {
value.go#L3091: if vt.Kind() == Slice && t.Kind() == Pointer && t.Elem().Kind() == Array {
value.go#L3142: switch dst.Elem().Kind() {
value.go#L3152: switch src.Elem().Kind() {
value.go#L3161: if dst.Kind() == Pointer && dst.Elem().Kind() == Array && src.Elem() == dst.Elem().Elem() {
value.go#L3305: 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#L281: ek := rv.Type().Elem().Kind()
encoding/asn1
asn1.go#L688: if ifaceType := fieldType; ifaceType.Kind() == reflect.Interface && ifaceType.NumMethod() == 0 {
asn1.go#L946: if sliceType.Elem().Kind() == reflect.Uint8 {
asn1.go#L1104: 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#L429: switch t.Kind() {
binary.go#L639: switch v.Type().Kind() {
binary.go#L651: switch v.Type().Kind() {
binary.go#L663: switch v.Type().Kind() {
binary.go#L671: switch v.Type().Kind() {
encoding/json
decode.go#L164: if e.Type.Kind() != reflect.Pointer {
decode.go#L639: switch t.Key().Kind() {
decode.go#L791: case kt.Kind() == reflect.String:
decode.go#L794: switch kt.Kind() {
decode.go#L951: if v.Type().Elem().Kind() != reflect.Uint8 {
encode.go#L422: if t.Kind() != reflect.Pointer && allowAddr && reflect.PointerTo(t).Implements(marshalerType) {
encode.go#L428: if t.Kind() != reflect.Pointer && allowAddr && reflect.PointerTo(t).Implements(textMarshalerType) {
encode.go#L435: switch t.Kind() {
encode.go#L821: switch t.Key().Kind() {
encode.go#L895: if t.Elem().Kind() == reflect.Uint8 {
encode.go#L992: if t.Kind() == reflect.Pointer {
encode.go#L1246: if t.Kind() == reflect.Pointer {
encode.go#L1249: if !sf.IsExported() && t.Kind() != reflect.Struct {
encode.go#L1272: if ft.Name() == "" && ft.Kind() == reflect.Pointer {
encode.go#L1280: switch ft.Kind() {
encode.go#L1291: if name != "" || !sf.Anonymous || ft.Kind() != reflect.Struct {
encoding/xml
marshal.go#L456: if (kind == reflect.Slice || kind == reflect.Array) && typ.Elem().Kind() != reflect.Uint8 {
marshal.go#L614: if val.Kind() == reflect.Slice && val.Type().Elem().Kind() != reflect.Uint8 {
marshal.go#L771: if typ.Elem().Kind() != reflect.Uint8 {
marshal.go#L784: if typ.Elem().Kind() != reflect.Uint8 {
marshal.go#L894: if !(k == reflect.String || k == reflect.Slice && vf.Type().Elem().Kind() == reflect.Uint8) {
read.go#L278: if val.Type().Kind() == reflect.Slice && val.Type().Elem().Kind() != reflect.Uint8 {
read.go#L389: if typ.Elem().Kind() == reflect.Uint8 {
read.go#L594: if t.Type().Elem().Kind() == reflect.Uint8 {
typeinfo.go#L59: if typ.Kind() == reflect.Struct && typ != nameType {
typeinfo.go#L70: if t.Kind() == reflect.Pointer {
typeinfo.go#L73: if t.Kind() == reflect.Struct {
typeinfo.go#L232: for typ.Kind() == reflect.Pointer {
typeinfo.go#L235: if typ.Kind() != reflect.Struct {
typeinfo.go#L361: if t.Kind() == reflect.Pointer && t.Elem().Kind() == reflect.Struct {
flag
flag.go#L459: if typ.Kind() == reflect.Pointer {
fmt
print.go#L826: if t.Elem().Kind() == reflect.Uint8 {
print.go#L1152: isString := arg != nil && reflect.TypeOf(arg).Kind() == reflect.String
scan.go#L1036: if typ.Elem().Kind() != reflect.Uint8 {
github.com/aws/aws-sdk-go-v2/aws
credentials.go#L160: if targetType.Kind() != reflect.Ptr {
credentials.go#L165: if providerType.Kind() != reflect.Ptr {
github.com/aws/aws-sdk-go-v2/aws/transport/http
client.go#L204: if srcValType.Kind() == reflect.Ptr {
github.com/aws/smithy-go/document
errors.go#L35: } else if e.Type.Kind() != reflect.Ptr {
github.com/go-pg/pg/v10/internal
util.go#L33: if elemType.Kind() == reflect.Ptr {
github.com/go-pg/pg/v10/orm
composite.go#L12: if typ.Kind() == reflect.Ptr {
composite.go#L77: if typ.Kind() == reflect.Ptr {
model.go#L81: if typ.Kind() == reflect.Struct {
model.go#L105: switch elemType.Kind() {
model.go#L145: if typ.Key().Kind() != reflect.String || typ.Elem().Kind() != reflect.Interface {
model_func.go#L24: if fnt.Kind() != reflect.Func {
model_func.go#L26: reflect.Func, fnt.Kind()))
model_func.go#L47: if t0.Kind() == reflect.Ptr {
model_table.go#L37: if typ.Kind() == reflect.Struct {
model_table.go#L47: if typ.Kind() == reflect.Slice {
model_table.go#L49: if structType.Kind() == reflect.Struct {
model_table_slice.go#L36: switch sliceType.Elem().Kind() {
table.go#L270: if fieldType.Kind() != reflect.Struct {
table.go#L477: } else if field.SQLType == pgTypeBigint && field.Type.Kind() == reflect.Uint64 {
table.go#L478: if f.Type.Kind() == reflect.Ptr {
table.go#L544: if f.Type.Kind() == reflect.Struct {
table.go#L560: if f.Type.Kind() == reflect.Struct {
table.go#L580: switch field.Type.Kind() {
table.go#L749: if field.Type.Kind() != reflect.Slice {
table.go#L752: t.TypeName, field.GoName, field.Type.Kind(),
table.go#L829: if field.Type.Kind() != reflect.Slice {
table.go#L832: t.TypeName, field.GoName, field.Type.Kind(),
table.go#L964: if elemType.Kind() != reflect.Struct {
table.go#L1062: if elemType.Kind() != reflect.Struct {
table.go#L1180: if f.Type.Kind() != reflect.Struct {
table.go#L1221: switch field.Type.Kind() {
table.go#L1252: switch typ.Kind() {
table.go#L1273: if typ.Elem().Kind() == reflect.Uint8 {
table.go#L1278: return typ.Kind().String()
table.go#L1491: switch typ.Kind() {
table.go#L1516: switch typ.Kind() { //nolint:gocritic
tables.go#L71: if typ.Kind() == reflect.Ptr {
tables.go#L78: if typ.Kind() != reflect.Struct {
tables.go#L79: panic(fmt.Errorf("got %s, wanted %s", typ.Kind(), reflect.Struct))
util.go#L21: if t.Kind() == reflect.Ptr {
util.go#L29: if elemType.Kind() == reflect.Interface && v.Len() > 0 {
util.go#L37: switch t.Kind() {
github.com/go-pg/pg/v10/types
append_value.go#L105: kind := typ.Kind()
append_value.go#L110: if typ.Elem().Kind() == reflect.Uint8 {
append_value.go#L117: if typ.Elem().Kind() == reflect.Uint8 {
array_append.go#L35: kind := typ.Kind()
array_append.go#L38: kind = typ.Kind()
array_scan.go#L24: kind := typ.Kind()
array_scan.go#L27: kind = typ.Kind()
hstore.go#L27: if typ.Kind() == reflect.Ptr {
hstore.go#L30: if typ.Kind() != reflect.Map {
scan_value.go#L115: kind := typ.Kind()
scan_value.go#L120: if typ.Elem().Kind() == reflect.Uint8 {
scan_value.go#L127: if typ.Elem().Kind() == reflect.Uint8 {
github.com/go-pg/zerochecker
zerochecker.go#L27: switch typ.Kind() {
zerochecker.go#L29: if typ.Elem().Kind() == reflect.Uint8 {
github.com/golang/mock/gomock
call.go#L187: switch want.Kind() {
call.go#L235: switch at.Kind() {
call.go#L253: switch reflect.TypeOf(args[n]).Kind() {
github.com/golang/protobuf/proto
properties.go#L204: if typ != nil && typ.Kind() == reflect.Map {
properties.go#L228: if t.Kind() != reflect.Struct {
registry.go#L193: if t.Kind() != reflect.Map {
text_decode.go#L135: if t.Kind() == reflect.Ptr {
github.com/google/go-cmp/cmp
compare.go#L269: switch t.Kind() {
compare.go#L297: panic(fmt.Sprintf("%v kind not handled", t.Kind()))
compare.go#L417: isSlice := t.Kind() == reflect.Slice
options.go#L166: if ti := v.Type().In(0); ti.Kind() != reflect.Interface || ti.NumMethod() > 0 {
options.go#L291: if ti := v.Type().In(0); ti.Kind() != reflect.Interface || ti.NumMethod() > 0 {
options.go#L350: if ti := v.Type().In(0); ti.Kind() != reflect.Interface || ti.NumMethod() > 0 {
options.go#L426: if t.Kind() != reflect.Struct {
report_compare.go#L113: parentKind = v.parent.Type.Kind()
report_compare.go#L118: isBytes := v.Type.Kind() == reflect.Slice && v.Type.Elem() == byteType
report_compare.go#L175: switch k := v.Type.Kind(); k {
report_reflect.go#L55: switch t.Kind() {
report_reflect.go#L75: switch t.Kind() {
report_reflect.go#L134: if (t.Kind() != reflect.Ptr && t.Kind() != reflect.Interface) || !v.IsNil() {
report_reflect.go#L162: switch t.Kind() {
report_reflect.go#L205: s := opts.WithTypeMode(autoType).FormatValue(vv, t.Kind(), ptrs)
report_reflect.go#L238: s := opts.WithTypeMode(elideType).FormatValue(v.Index(i), t.Kind(), ptrs)
report_reflect.go#L243: if t.Kind() == reflect.Slice && opts.PrintAddresses {
report_reflect.go#L272: sv := opts.WithTypeMode(elideType).FormatValue(v.MapIndex(k), t.Kind(), ptrs)
report_reflect.go#L298: out = opts.FormatValue(v.Elem(), t.Kind(), ptrs)
report_reflect.go#L308: return opts.WithTypeMode(emitType).FormatValue(v.Elem(), t.Kind(), ptrs)
report_slices.go#L50: if t.Kind() == reflect.Interface && !vx.IsNil() && !vy.IsNil() && vx.Elem().Type() == vy.Elem().Type() {
report_slices.go#L56: switch t.Kind() {
report_slices.go#L60: switch t.Elem().Kind() {
report_slices.go#L69: if t.Kind() == reflect.Slice && (vx.Len() == 0 || vy.Len() == 0) {
report_slices.go#L93: if t.Kind() == reflect.Interface {
report_slices.go#L104: case t.Kind() == reflect.String:
report_slices.go#L107: case t.Kind() == reflect.Slice && t.Elem() == byteType:
report_slices.go#L110: case t.Kind() == reflect.Array:
report_slices.go#L236: switch t.Kind() {
report_slices.go#L284: if t.Elem().Kind() == reflect.Bool {
report_slices.go#L299: vx, vy, chunkSize, t.Elem().Kind().String(),
report_slices.go#L303: switch t.Elem().Kind() {
report_slices.go#L325: if t.Kind() == reflect.String {
report_slices.go#L330: switch t.Kind() {
github.com/google/go-cmp/cmp/internal/function
func.go#L39: if t == nil || t.Kind() != reflect.Func || t.IsVariadic() {
github.com/google/go-cmp/cmp/internal/value
name.go#L45: switch k := t.Kind(); k {
sort.go#L37: switch x.Type().Kind() {
sort.go#L89: if tx.Kind() != ty.Kind() {
github.com/vmihailenco/msgpack/v5
decode_value.go#L58: kind := typ.Kind()
decode_value.go#L101: if elem.Kind() == reflect.Uint8 {
decode_value.go#L108: if typ.Elem().Kind() == reflect.Uint8 {
decode_value.go#L151: if nilable(typ.Kind()) {
encode_value.go#L52: kind := typ.Kind()
encode_value.go#L99: if elem.Kind() == reflect.Uint8 {
encode_value.go#L106: if typ.Elem().Kind() == reflect.Uint8 {
ext.go#L53: if typ.Kind() == reflect.Ptr {
ext.go#L66: if typ.Kind() == reflect.Ptr {
ext.go#L76: nilable := typ.Kind() == reflect.Ptr
ext.go#L121: if typ.Kind() == reflect.Ptr {
ext.go#L135: if typ.Kind() == reflect.Ptr {
types.go#L206: switch f.Type.Kind() {
types.go#L280: if typ.Kind() == reflect.Struct {
types.go#L284: for typ.Kind() == reflect.Ptr {
types.go#L289: if typ.Kind() != reflect.Struct {
types.go#L399: if elemType.Kind() != reflect.Struct {
google.golang.org/protobuf/internal/encoding/tag
tag.go#L53: switch goType.Kind() {
tag.go#L66: if goType.Kind() == reflect.Int32 {
tag.go#L70: if goType.Kind() == reflect.Int64 {
tag.go#L74: switch goType.Kind() {
tag.go#L83: switch goType.Kind() {
tag.go#L93: case goType.Kind() == reflect.String:
tag.go#L95: case goType.Kind() == reflect.Slice && goType.Elem() == byteType:
google.golang.org/protobuf/internal/impl
codec_message.go#L60: mi.unknownPtrKind = si.unknownType.Kind() == reflect.Ptr
codec_tables.go#L43: if ft.Kind() != reflect.Slice {
codec_tables.go#L49: if ft.Kind() == reflect.Bool {
codec_tables.go#L53: if ft.Kind() == reflect.Int32 {
codec_tables.go#L57: if ft.Kind() == reflect.Int32 {
codec_tables.go#L61: if ft.Kind() == reflect.Int32 {
codec_tables.go#L65: if ft.Kind() == reflect.Uint32 {
codec_tables.go#L69: if ft.Kind() == reflect.Int64 {
codec_tables.go#L73: if ft.Kind() == reflect.Int64 {
codec_tables.go#L77: if ft.Kind() == reflect.Uint64 {
codec_tables.go#L81: if ft.Kind() == reflect.Int32 {
codec_tables.go#L85: if ft.Kind() == reflect.Uint32 {
codec_tables.go#L89: if ft.Kind() == reflect.Float32 {
codec_tables.go#L93: if ft.Kind() == reflect.Int64 {
codec_tables.go#L97: if ft.Kind() == reflect.Uint64 {
codec_tables.go#L101: if ft.Kind() == reflect.Float64 {
codec_tables.go#L105: if ft.Kind() == reflect.String && strs.EnforceUTF8(fd) {
codec_tables.go#L108: if ft.Kind() == reflect.String {
codec_tables.go#L111: if ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8 && strs.EnforceUTF8(fd) {
codec_tables.go#L114: if ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8 {
codec_tables.go#L118: if ft.Kind() == reflect.String {
codec_tables.go#L121: if ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8 {
codec_tables.go#L134: if ft.Kind() != reflect.Slice {
codec_tables.go#L140: if ft.Kind() == reflect.Bool {
codec_tables.go#L144: if ft.Kind() == reflect.Int32 {
codec_tables.go#L148: if ft.Kind() == reflect.Int32 {
codec_tables.go#L152: if ft.Kind() == reflect.Int32 {
codec_tables.go#L156: if ft.Kind() == reflect.Uint32 {
codec_tables.go#L160: if ft.Kind() == reflect.Int64 {
codec_tables.go#L164: if ft.Kind() == reflect.Int64 {
codec_tables.go#L168: if ft.Kind() == reflect.Uint64 {
codec_tables.go#L172: if ft.Kind() == reflect.Int32 {
codec_tables.go#L176: if ft.Kind() == reflect.Uint32 {
codec_tables.go#L180: if ft.Kind() == reflect.Float32 {
codec_tables.go#L184: if ft.Kind() == reflect.Int64 {
codec_tables.go#L188: if ft.Kind() == reflect.Uint64 {
codec_tables.go#L192: if ft.Kind() == reflect.Float64 {
codec_tables.go#L205: if ft.Kind() == reflect.Bool {
codec_tables.go#L209: if ft.Kind() == reflect.Int32 {
codec_tables.go#L213: if ft.Kind() == reflect.Int32 {
codec_tables.go#L217: if ft.Kind() == reflect.Int32 {
codec_tables.go#L221: if ft.Kind() == reflect.Uint32 {
codec_tables.go#L225: if ft.Kind() == reflect.Int64 {
codec_tables.go#L229: if ft.Kind() == reflect.Int64 {
codec_tables.go#L233: if ft.Kind() == reflect.Uint64 {
codec_tables.go#L237: if ft.Kind() == reflect.Int32 {
codec_tables.go#L241: if ft.Kind() == reflect.Uint32 {
codec_tables.go#L245: if ft.Kind() == reflect.Float32 {
codec_tables.go#L249: if ft.Kind() == reflect.Int64 {
codec_tables.go#L253: if ft.Kind() == reflect.Uint64 {
codec_tables.go#L257: if ft.Kind() == reflect.Float64 {
codec_tables.go#L261: if ft.Kind() == reflect.String && strs.EnforceUTF8(fd) {
codec_tables.go#L264: if ft.Kind() == reflect.String {
codec_tables.go#L267: if ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8 && strs.EnforceUTF8(fd) {
codec_tables.go#L270: if ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8 {
codec_tables.go#L274: if ft.Kind() == reflect.String {
codec_tables.go#L277: if ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8 {
codec_tables.go#L281: case ft.Kind() == reflect.Ptr:
codec_tables.go#L285: if ft.Kind() == reflect.Bool {
codec_tables.go#L289: if ft.Kind() == reflect.Int32 {
codec_tables.go#L293: if ft.Kind() == reflect.Int32 {
codec_tables.go#L297: if ft.Kind() == reflect.Int32 {
codec_tables.go#L301: if ft.Kind() == reflect.Uint32 {
codec_tables.go#L305: if ft.Kind() == reflect.Int64 {
codec_tables.go#L309: if ft.Kind() == reflect.Int64 {
codec_tables.go#L313: if ft.Kind() == reflect.Uint64 {
codec_tables.go#L317: if ft.Kind() == reflect.Int32 {
codec_tables.go#L321: if ft.Kind() == reflect.Uint32 {
codec_tables.go#L325: if ft.Kind() == reflect.Float32 {
codec_tables.go#L329: if ft.Kind() == reflect.Int64 {
codec_tables.go#L333: if ft.Kind() == reflect.Uint64 {
codec_tables.go#L337: if ft.Kind() == reflect.Float64 {
codec_tables.go#L341: if ft.Kind() == reflect.String && strs.EnforceUTF8(fd) {
codec_tables.go#L344: if ft.Kind() == reflect.String {
codec_tables.go#L348: if ft.Kind() == reflect.String {
codec_tables.go#L355: if ft.Kind() == reflect.Bool {
codec_tables.go#L359: if ft.Kind() == reflect.Int32 {
codec_tables.go#L363: if ft.Kind() == reflect.Int32 {
codec_tables.go#L367: if ft.Kind() == reflect.Int32 {
codec_tables.go#L371: if ft.Kind() == reflect.Uint32 {
codec_tables.go#L375: if ft.Kind() == reflect.Int64 {
codec_tables.go#L379: if ft.Kind() == reflect.Int64 {
codec_tables.go#L383: if ft.Kind() == reflect.Uint64 {
codec_tables.go#L387: if ft.Kind() == reflect.Int32 {
codec_tables.go#L391: if ft.Kind() == reflect.Uint32 {
codec_tables.go#L395: if ft.Kind() == reflect.Float32 {
codec_tables.go#L399: if ft.Kind() == reflect.Int64 {
codec_tables.go#L403: if ft.Kind() == reflect.Uint64 {
codec_tables.go#L407: if ft.Kind() == reflect.Float64 {
codec_tables.go#L411: if ft.Kind() == reflect.String && strs.EnforceUTF8(fd) {
codec_tables.go#L414: if ft.Kind() == reflect.String {
codec_tables.go#L417: if ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8 && strs.EnforceUTF8(fd) {
codec_tables.go#L420: if ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8 {
codec_tables.go#L424: if ft.Kind() == reflect.String {
codec_tables.go#L427: if ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8 {
convert.go#L100: if t.Kind() == reflect.Bool {
convert.go#L104: if t.Kind() == reflect.Int32 {
convert.go#L108: if t.Kind() == reflect.Int64 {
convert.go#L112: if t.Kind() == reflect.Uint32 {
convert.go#L116: if t.Kind() == reflect.Uint64 {
convert.go#L120: if t.Kind() == reflect.Float32 {
convert.go#L124: if t.Kind() == reflect.Float64 {
convert.go#L128: if t.Kind() == reflect.String || (t.Kind() == reflect.Slice && t.Elem() == byteType) {
convert.go#L132: if t.Kind() == reflect.String || (t.Kind() == reflect.Slice && t.Elem() == byteType) {
convert.go#L137: if t.Kind() == reflect.Int32 {
convert.go#L329: if c.goType.Kind() == reflect.Slice && s == "" {
convert.go#L353: if c.goType.Kind() == reflect.String && v.Len() == 0 {
convert.go#L495: return c.goType.Kind() != reflect.Ptr
convert_list.go#L16: case t.Kind() == reflect.Ptr && t.Elem().Kind() == reflect.Slice:
convert_list.go#L18: case t.Kind() == reflect.Slice:
convert_map.go#L20: if t.Kind() != reflect.Map {
legacy_extension.go#L42: switch extType.Kind() {
legacy_extension.go#L91: isOptional := t.Kind() == reflect.Ptr && t.Elem().Kind() != reflect.Struct
legacy_extension.go#L92: isRepeated := t.Kind() == reflect.Slice && t.Elem().Kind() != reflect.Uint8
legacy_message.go#L26: if t.Kind() != reflect.Ptr || t.Elem().Kind() != reflect.Struct {
legacy_message.go#L37: if t.Kind() != reflect.Ptr || t.Elem().Kind() != reflect.Struct {
legacy_message.go#L126: if t.Elem().Kind() == reflect.Struct {
legacy_message.go#L187: if t.Kind() != reflect.Ptr || t.Elem().Kind() != reflect.Struct {
legacy_message.go#L195: switch f.Type.Kind() {
legacy_message.go#L281: if t.Kind() == reflect.Ptr {
legacy_message.go#L289: isOptional := t.Kind() == reflect.Ptr && t.Elem().Kind() != reflect.Struct
legacy_message.go#L290: isRepeated := t.Kind() == reflect.Slice && t.Elem().Kind() != reflect.Uint8
legacy_message.go#L334: if t.Kind() == reflect.Map {
legacy_message.go#L465: if mt.t.Kind() == reflect.Ptr {
legacy_message.go#L511: if m.v.Type().Kind() == reflect.Ptr {
message.go#L84: if t.Kind() != reflect.Ptr && t.Elem().Kind() != reflect.Struct {
message_reflect.go#L212: if fd.HasPresence() && ft.Kind() == reflect.Ptr {
message_reflect.go#L222: if isMessage && ft != nil && ft.Kind() != reflect.Ptr {
message_reflect_field.go#L66: if ft.Kind() != reflect.Interface {
message_reflect_field.go#L69: if ot.Kind() != reflect.Struct {
message_reflect_field.go#L149: if ft.Kind() != reflect.Map {
message_reflect_field.go#L202: if ft.Kind() != reflect.Slice {
message_reflect_field.go#L258: isBytes := ft.Kind() == reflect.Slice && ft.Elem().Kind() == reflect.Uint8
message_reflect_field.go#L260: if ft.Kind() != reflect.Ptr && ft.Kind() != reflect.Slice {
message_reflect_field.go#L266: if ft.Kind() == reflect.Ptr {
message_reflect_field.go#L427: if fs.Type.Kind() != reflect.Ptr {
message_reflect_field.go#L446: if fs.Type.Kind() == reflect.Ptr && rv.IsNil() {
message_reflect_field.go#L452: if fs.Type.Kind() == reflect.Ptr && rv.IsNil() {
validate.go#L152: if ft.Kind() == reflect.Slice {
validate.go#L157: if ft.Kind() == reflect.Slice {
validate.go#L186: if ft.Kind() == reflect.Map {
google.golang.org/protobuf/proto
equal.go#L36: if reflect.TypeOf(x).Kind() == reflect.Ptr && x == y {
gotest.tools/v3/assert/cmp
compare.go#L175: switch colValue.Type().Kind() {
compare.go#L177: if itemValue.Type().Kind() != reflect.String {
compare.go#L277: kind := value.Type().Kind()
compare.go#L316: if expectedType.Kind() == reflect.Interface {
compare.go#L326: case expectedType.Kind() == reflect.Struct, isPtrToStruct(expectedType):
compare.go#L371: return typ.Kind() == reflect.Ptr && typ.Elem().Kind() == reflect.Interface
compare.go#L375: return typ.Kind() == reflect.Ptr && typ.Elem().Kind() == reflect.Struct
html/template
content.go#L119: if t := reflect.TypeOf(a); t.Kind() != reflect.Pointer {
internal/fmtsort
sort.go#L53: if mapValue.Type().Kind() != reflect.Map {
net/http
transport.go#L373: 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 {
testing
fuzz.go#L224: if fnType.Kind() != reflect.Func {
text/template
exec.go#L673: if etyp.Kind() == reflect.Struct {
exec.go#L793: switch typ.Kind() {
exec.go#L866: switch typ.Kind() {
funcs.go#L168: if intLike(value.Kind()) && intLike(argType.Kind()) && value.Type().ConvertibleTo(argType) {
funcs.go#L321: if typ.Kind() != reflect.Func {
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L273: if reflect.TypeOf(out).Kind() != reflect.Ptr {
asn1.go#L663: if reflect.TypeOf(out).Kind() != reflect.Ptr {
asn1.go#L680: if reflect.TypeOf(defaultValue).Kind() != reflect.Ptr ||