const reflect.Interface
81 uses
reflect (current package)
abi.go#L219: case Interface:
deepequal.go#L51: case Map, Slice, Interface:
deepequal.go#L118: case Interface:
map_swiss.go#L286: if v.kind() == Interface {
map_swiss.go#L330: if v.kind() == Interface {
type.go#L301: Interface
type.go#L497: Interface: "interface",
type.go#L614: if t.Kind() == Interface {
type.go#L622: if t.Kind() == Interface {
type.go#L656: if t.Kind() == Interface {
type.go#L1405: if u.Kind() != Interface {
type.go#L1606: case Interface:
type.go#L1991: case Float32, Float64, Complex64, Complex128, Interface:
type.go#L2015: case Float32, Float64, Complex64, Complex128, Interface, String:
type.go#L2040: case Interface:
type.go#L2253: case Interface:
type.go#L2845: case Interface:
value.go#L1218: case Interface:
value.go#L1490: if v.kind() == Interface {
value.go#L1537: if v.kind() == Interface {
value.go#L1587: v.mustBe(Interface)
value.go#L1617: case Interface, Slice:
value.go#L1675: case Chan, Func, Interface, Map, Pointer, Slice, UnsafePointer:
value.go#L1802: case Interface:
value.go#L2128: if v.kind() == Interface {
value.go#L3127: if v.Kind() == Interface && v.IsNil() {
value.go#L3131: return Value{dst, nil, flag(Interface)}
value.go#L3142: return Value{dst, target, flagIndir | flag(Interface)}
value.go#L3198: case Interface, Array, Struct:
value.go#L3208: case Interface:
value.go#L3233: if v.Kind() == Interface {
value.go#L3236: if u.Kind() == Interface {
value.go#L3610: return Value{typ.common(), target, v.flag.ro() | flagIndir | flag(Interface)}
encoding/asn1
asn1.go#L722: if ifaceType := fieldType; ifaceType.Kind() == reflect.Interface && ifaceType.NumMethod() == 0 {
marshal.go#L581: if v.Kind() == reflect.Interface && v.Type().NumMethod() == 0 {
encoding/json
decode.go#L457: if v.Kind() == reflect.Interface && !v.IsNil() {
decode.go#L477: if v.Elem().Kind() == reflect.Interface && v.Elem().Elem().Equal(v) {
decode.go#L524: case reflect.Interface:
decode.go#L621: if v.Kind() == reflect.Interface && v.NumMethod() == 0 {
decode.go#L905: case reflect.Interface, reflect.Pointer, reflect.Map, reflect.Slice:
decode.go#L926: case reflect.Interface:
decode.go#L963: case reflect.Interface:
decode.go#L990: case reflect.Interface:
encode.go#L360: reflect.Interface, reflect.Pointer:
encode.go#L452: case reflect.Interface:
encode.go#L1219: case t.Kind() == reflect.Interface && t.Implements(isZeroerType):
fmt
print.go#L343: if val.Kind() == reflect.Interface && !val.IsNil() {
print.go#L856: case reflect.Interface:
github.com/google/go-cmp/cmp
compare.go#L296: case reflect.Interface:
export.go#L25: 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#L302: if ti := v.Type().In(0); ti.Kind() != reflect.Interface || ti.NumMethod() > 0 {
options.go#L361: 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:
go.uber.org/mock/gomock
call.go#L202: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice:
call.go#L256: case reflect.Interface, reflect.Slice, reflect.Map:
call.go#L463: if t.Kind() != reflect.Ptr && t.Kind() != reflect.Interface {
matchers.go#L152: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map,
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#L325: case reflect.Interface, reflect.Slice:
google.golang.org/protobuf/internal/impl
message_reflect_field.go#L63: if ft.Kind() != reflect.Interface {
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#L123: case reflect.Interface:
text/template
exec.go#L336: case reflect.Chan, reflect.Func, reflect.Pointer, reflect.UnsafePointer, reflect.Interface:
exec.go#L534: if value.Kind() == reflect.Interface && value.Type().NumMethod() == 0 {
exec.go#L691: if receiver.Kind() == reflect.Interface && isNil {
exec.go#L701: if ptr.Kind() != reflect.Interface && ptr.Kind() != reflect.Pointer && ptr.CanAddr() {
exec.go#L883: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Pointer, reflect.Slice:
exec.go#L908: if value.Kind() == reflect.Interface && !value.IsNil() {
exec.go#L964: case reflect.Interface:
exec.go#L1077: for ; v.Kind() == reflect.Pointer || v.Kind() == reflect.Interface; v = v.Elem() {
exec.go#L1090: if v.Kind() != reflect.Interface {
funcs.go#L451: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Pointer, reflect.Slice: