const reflect.Interface
110 uses
reflect (current package)
abi.go#L220: case Interface:
deepequal.go#L51: case Map, Slice, Interface:
deepequal.go#L118: case Interface:
type.go#L262: Interface
type.go#L662: Interface: "interface",
type.go#L783: case Interface:
type.go#L838: if t.Kind() == Interface {
type.go#L846: if t.Kind() == Interface {
type.go#L880: if t.Kind() == Interface {
type.go#L1500: if u.Kind() != Interface {
type.go#L1528: if T.Kind() != Interface {
type.go#L1548: if V.Kind() == Interface {
type.go#L1702: case Interface:
type.go#L2158: case Float32, Float64, Complex64, Complex128, Interface:
type.go#L2182: case Float32, Float64, Complex64, Complex128, Interface, String:
type.go#L2207: case Interface:
type.go#L2481: if k := elem.Kind(); k == Pointer || k == Interface {
type.go#L2487: case Interface:
type.go#L3070: if rcvr != nil && rcvr.Kind() == Interface {
type.go#L3150: case Interface:
value.go#L849: if v.typ.Kind() == Interface {
value.go#L888: if t.Kind() == Interface {
value.go#L1169: case Interface:
value.go#L1447: if v.kind() == Interface {
value.go#L1473: v.mustBe(Interface)
value.go#L1501: case Interface, Slice:
value.go#L1540: case Chan, Func, Interface, Map, Pointer, Slice, UnsafePointer:
value.go#L1723: if v.kind() == Interface {
value.go#L1764: if v.kind() == Interface {
value.go#L1851: if v.typ.Kind() == Interface && v.IsNil() {
value.go#L2087: if v.kind() == Interface {
value.go#L2463: if v.typ.Kind() == Interface {
value.go#L3048: if v.Kind() == Interface && v.IsNil() {
value.go#L3052: return Value{dst, nil, flag(Interface)}
value.go#L3060: return Value{dst, target, flagIndir | flag(Interface)}
value.go#L3184: if src.Kind() == Interface {
value.go#L3391: return Value{typ.common(), target, v.flag.ro() | flagIndir | flag(Interface)}
encoding/asn1
asn1.go#L688: if ifaceType := fieldType; ifaceType.Kind() == reflect.Interface && ifaceType.NumMethod() == 0 {
marshal.go#L584: if v.Kind() == reflect.Interface && v.Type().NumMethod() == 0 {
encoding/json
decode.go#L450: if v.Kind() == reflect.Interface && !v.IsNil() {
decode.go#L470: if v.Elem().Kind() == reflect.Interface && v.Elem().Elem() == v {
decode.go#L517: case reflect.Interface:
decode.go#L623: if v.Kind() == reflect.Interface && v.NumMethod() == 0 {
decode.go#L910: case reflect.Interface, reflect.Pointer, reflect.Map, reflect.Slice:
decode.go#L931: case reflect.Interface:
decode.go#L967: case reflect.Interface:
decode.go#L995: case reflect.Interface:
encode.go#L353: case reflect.Interface, reflect.Pointer:
encode.go#L448: case reflect.Interface:
encoding/xml
marshal.go#L423: for val.Kind() == reflect.Interface || val.Kind() == reflect.Pointer {
marshal.go#L519: if fv.Kind() == reflect.Interface && fv.IsNil() {
marshal.go#L606: case reflect.Pointer, reflect.Interface:
marshal.go#L800: for vf.Kind() == reflect.Interface || vf.Kind() == reflect.Pointer {
marshal.go#L949: if vf.Kind() != reflect.Pointer && vf.Kind() != reflect.Interface || !vf.IsNil() {
marshal.go#L1058: case reflect.Interface, reflect.Pointer:
read.go#L325: if val.Kind() == reflect.Interface && !val.IsNil() {
read.go#L381: case reflect.Interface:
fmt
print.go#L292: if val.Kind() == reflect.Interface && !val.IsNil() {
print.go#L809: case reflect.Interface:
github.com/go-pg/pg/v10/orm
model.go#L89: if v.Kind() == reflect.Interface {
model.go#L145: if typ.Key().Kind() != reflect.String || typ.Elem().Kind() != reflect.Interface {
model_table_slice.go#L37: case reflect.Ptr, reflect.Interface:
model_table_struct.go#L126: case reflect.Interface:
util.go#L11: case reflect.Interface:
util.go#L29: if elemType.Kind() == reflect.Interface && v.Len() > 0 {
github.com/go-pg/pg/v10/types
append_value.go#L49: reflect.Interface: appendIfaceValue,
flags.go#L21: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice:
in_op.go#L49: if elem.Kind() == reflect.Interface {
scan.go#L53: if vv.Kind() == reflect.Interface {
scan_value.go#L52: reflect.Interface: scanIfaceValue,
scan_value.go#L180: if v.Kind() == reflect.Interface {
github.com/go-pg/zerochecker
zerochecker.go#L43: case reflect.Interface, reflect.Ptr, reflect.Slice, reflect.Map:
github.com/golang/mock/gomock
call.go#L188: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice:
call.go#L242: case reflect.Interface:
matchers.go#L135: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map,
github.com/google/go-cmp/cmp
compare.go#L294: case reflect.Interface:
export_unsafe.go#L30: if ve.Kind() == reflect.Interface && ve.IsNil() {
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 {
report_compare.go#L195: case reflect.Interface:
report_reflect.go#L134: if (t.Kind() != reflect.Ptr && t.Kind() != reflect.Interface) || !v.IsNil() {
report_reflect.go#L302: case reflect.Interface:
report_slices.go#L50: if t.Kind() == reflect.Interface && !vx.IsNil() && !vy.IsNil() && vx.Elem().Type() == vy.Elem().Type() {
report_slices.go#L93: if t.Kind() == reflect.Interface {
github.com/google/go-cmp/cmp/internal/value
name.go#L138: case reflect.Interface:
sort.go#L80: case reflect.Interface:
github.com/vmihailenco/msgpack/v5
decode.go#L279: if vv.Kind() == reflect.Interface {
decode_value.go#L38: reflect.Interface: decodeInterfaceValue,
encode_value.go#L32: reflect.Interface: encodeInterfaceValue,
encode_value.go#L195: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice:
types.go#L207: case reflect.Interface:
types.go#L323: for kind == reflect.Interface {
go/ast
print.go#L24: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Pointer, reflect.Slice:
print.go#L150: case reflect.Interface:
google.golang.org/protobuf/internal/descfmt
stringer.go#L229: case reflect.Interface, reflect.Slice:
google.golang.org/protobuf/internal/impl
message_reflect_field.go#L66: if ft.Kind() != reflect.Interface {
message_reflect_field.go#L529: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice, reflect.UnsafePointer:
gotest.tools/v3/assert/cmp
compare.go#L316: if expectedType.Kind() == reflect.Interface {
compare.go#L371: return typ.Kind() == reflect.Ptr && typ.Elem().Kind() == reflect.Interface
internal/fmtsort
sort.go#L170: case reflect.Interface:
text/template
exec.go#L330: case reflect.Chan, reflect.Func, reflect.Pointer, reflect.Interface:
exec.go#L459: if value.Kind() == reflect.Interface && value.Type().NumMethod() == 0 {
exec.go#L616: if receiver.Kind() == reflect.Interface && isNil {
exec.go#L626: if ptr.Kind() != reflect.Interface && ptr.Kind() != reflect.Pointer && ptr.CanAddr() {
exec.go#L794: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Pointer, reflect.Slice:
exec.go#L819: if value.Kind() == reflect.Interface && !value.IsNil() {
exec.go#L875: case reflect.Interface:
exec.go#L988: for ; v.Kind() == reflect.Pointer || v.Kind() == reflect.Interface; v = v.Elem() {
exec.go#L1001: if v.Kind() != reflect.Interface {