const reflect.Interface
80 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#L294: Interface
type.go#L488: Interface: "interface",
type.go#L605: if t.Kind() == Interface {
type.go#L613: if t.Kind() == Interface {
type.go#L647: if t.Kind() == Interface {
type.go#L1389: if u.Kind() != Interface {
type.go#L1590: case Interface:
type.go#L1975: case Float32, Float64, Complex64, Complex128, Interface:
type.go#L1999: case Float32, Float64, Complex64, Complex128, Interface, String:
type.go#L2024: case Interface:
type.go#L2237: case Interface:
type.go#L2829: case Interface:
value.go#L1221: case Interface:
value.go#L1501: if v.kind() == Interface {
value.go#L1526: v.mustBe(Interface)
value.go#L1556: case Interface, Slice:
value.go#L1611: case Chan, Func, Interface, Map, Pointer, Slice, UnsafePointer:
value.go#L1735: case Interface:
value.go#L2054: if v.kind() == Interface {
value.go#L3053: if v.Kind() == Interface && v.IsNil() {
value.go#L3057: return Value{dst, nil, flag(Interface)}
value.go#L3068: return Value{dst, target, flagIndir | flag(Interface)}
value.go#L3124: case Interface, Array, Struct:
value.go#L3134: case Interface:
value.go#L3159: if v.Kind() == Interface {
value.go#L3162: if u.Kind() == Interface {
value.go#L3536: return Value{typ.common(), target, v.flag.ro() | flagIndir | flag(Interface)}
encoding/asn1
asn1.go#L683: 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#L452: if v.Kind() == reflect.Interface && !v.IsNil() {
decode.go#L472: if v.Elem().Kind() == reflect.Interface && v.Elem().Elem().Equal(v) {
decode.go#L519: case reflect.Interface:
decode.go#L616: if v.Kind() == reflect.Interface && v.NumMethod() == 0 {
decode.go#L900: case reflect.Interface, reflect.Pointer, reflect.Map, reflect.Slice:
decode.go#L921: case reflect.Interface:
decode.go#L958: case reflect.Interface:
decode.go#L985: case reflect.Interface:
encode.go#L326: reflect.Interface, reflect.Pointer:
encode.go#L421: case reflect.Interface:
encode.go#L1191: 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.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#L452: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Pointer, reflect.Slice: