const reflect.Interface
114 uses
reflect (current package)
deepequal.go#L48: case Map, Slice, Interface:
deepequal.go#L111: case Interface:
type.go#L255: Interface
type.go#L619: Interface: "interface",
type.go#L740: case Interface:
type.go#L795: if t.Kind() == Interface {
type.go#L803: if t.Kind() == Interface {
type.go#L837: if t.Kind() == Interface {
type.go#L1437: if u.Kind() != Interface {
type.go#L1465: if T.Kind() != Interface {
type.go#L1485: if V.Kind() == Interface {
type.go#L1639: case Interface:
type.go#L2095: case Float32, Float64, Complex64, Complex128, Interface:
type.go#L2119: case Float32, Float64, Complex64, Complex128, Interface, String:
type.go#L2144: case Interface:
type.go#L2418: if k := elem.Kind(); k == Ptr || k == Interface {
type.go#L2424: case Interface:
type.go#L3005: if rcvr != nil && rcvr.Kind() == Interface {
type.go#L3109: case Interface:
value.go#L593: if typ.Kind() == Interface {
value.go#L637: if v.typ.Kind() == Interface {
value.go#L676: if t.Kind() == Interface {
value.go#L814: case Interface:
value.go#L1033: if v.kind() == Interface {
value.go#L1053: v.mustBe(Interface)
value.go#L1081: case Interface, Slice:
value.go#L1120: case Chan, Func, Interface, Map, Ptr, Slice, UnsafePointer:
value.go#L1327: if v.typ.Kind() == Interface && v.IsNil() {
value.go#L1561: if v.kind() == Interface {
value.go#L1918: if v.typ.Kind() == Interface {
value.go#L2435: if v.Kind() == Interface && v.IsNil() {
value.go#L2439: return Value{dst, nil, flag(Interface)}
value.go#L2447: return Value{dst, target, flagIndir | flag(Interface)}
value.go#L2547: if src.Kind() == Interface {
value.go#L2744: 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/gob
decode.go#L862: case reflect.Interface:
decode.go#L1006: case reflect.Interface:
decode.go#L1060: if ut.base.Kind() == reflect.Interface && remoteId != tInterface {
encode.go#L449: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Ptr:
encode.go#L583: case reflect.Interface:
type.go#L472: case reflect.Interface:
encoding/json
decode.go#L447: if v.Kind() == reflect.Interface && !v.IsNil() {
decode.go#L467: if v.Elem().Kind() == reflect.Interface && v.Elem().Elem() == v {
decode.go#L514: case reflect.Interface:
decode.go#L620: if v.Kind() == reflect.Interface && v.NumMethod() == 0 {
decode.go#L899: case reflect.Interface, reflect.Ptr, reflect.Map, reflect.Slice:
decode.go#L920: case reflect.Interface:
decode.go#L956: case reflect.Interface:
decode.go#L984: case reflect.Interface:
encode.go#L353: case reflect.Interface, reflect.Ptr:
encode.go#L448: case reflect.Interface:
encoding/xml
marshal.go#L423: for val.Kind() == reflect.Interface || val.Kind() == reflect.Ptr {
marshal.go#L515: if fv.Kind() == reflect.Interface && fv.IsNil() {
marshal.go#L602: case reflect.Ptr, reflect.Interface:
marshal.go#L796: for vf.Kind() == reflect.Interface || vf.Kind() == reflect.Ptr {
marshal.go#L945: if vf.Kind() != reflect.Ptr && vf.Kind() != reflect.Interface || !vf.IsNil() {
marshal.go#L1054: case reflect.Interface, reflect.Ptr:
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/aws/aws-sdk-go/private/protocol/rest
build.go#L87: } else if kind == reflect.Interface {
github.com/ghodss/yaml
fields.go#L32: if v.Kind() == reflect.Interface && !v.IsNil() {
github.com/google/go-cmp/cmp
compare.go#L293: case reflect.Interface:
compare.go#L381: if v.Kind() == reflect.Interface && v.IsNil() && v.Type() != t {
export_unsafe.go#L29: if ve.Kind() == reflect.Interface && ve.IsNil() {
options.go#L164: if ti := v.Type().In(0); ti.Kind() != reflect.Interface || ti.NumMethod() > 0 {
options.go#L289: if ti := v.Type().In(0); ti.Kind() != reflect.Interface || ti.NumMethod() > 0 {
options.go#L348: if ti := v.Type().In(0); ti.Kind() != reflect.Interface || ti.NumMethod() > 0 {
report_compare.go#L194: case reflect.Interface:
report_reflect.go#L127: if (t.Kind() != reflect.Ptr && t.Kind() != reflect.Interface) || !v.IsNil() {
report_reflect.go#L289: case reflect.Interface:
github.com/google/go-cmp/cmp/cmpopts
ignore.go#L83: case fi.Type.Kind() != reflect.Interface:
github.com/google/go-cmp/cmp/internal/value
name.go#L131: case reflect.Interface:
sort.go#L80: case reflect.Interface:
zero.go#L30: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Ptr, reflect.Map, reflect.Slice:
github.com/imdario/mergo
map.go#L105: } else if dstKind == reflect.Interface && dstElement.Kind() == reflect.Interface {
merge.go#L193: case reflect.Ptr, reflect.Interface:
merge.go#L211: if src.Kind() != reflect.Interface {
merge.go#L331: case reflect.Interface, reflect.Slice, reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr:
mergo.go#L48: case reflect.Interface, reflect.Ptr:
github.com/lann/builder
builder.go#L211: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice:
go/ast
print.go#L24: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice:
print.go#L150: case reflect.Interface:
golang.org/x/pkgsite/internal/godoc/codec
generate.go#L326: case reflect.Ptr, reflect.Slice, reflect.Map, reflect.Interface:
generate.go#L352: if t.Kind() == reflect.Interface {
generate.go#L368: if t.Kind() == reflect.Interface {
golang.org/x/xerrors
wrap.go#L89: if e := typ.Elem(); e.Kind() != reflect.Interface && !e.Implements(errorType) {
google.golang.org/api/internal/gensupport
json.go#L183: if f.Type.Kind() == reflect.Interface && v.IsNil() {
json.go#L207: case reflect.Interface, reflect.Ptr:
google.golang.org/protobuf/internal/descfmt
stringer.go#L227: case reflect.Interface, reflect.Slice:
google.golang.org/protobuf/internal/impl
message_reflect_field.go#L33: if ft.Kind() != reflect.Interface {
gopkg.in/yaml.v2
decode.go#L471: case reflect.Interface:
decode.go#L596: case reflect.Interface:
decode.go#L631: case reflect.Interface:
decode.go#L669: if kkind == reflect.Interface {
encode.go#L146: case reflect.Interface:
sorter.go#L17: for (ak == reflect.Interface || ak == reflect.Ptr) && !a.IsNil() {
sorter.go#L21: for (bk == reflect.Interface || bk == reflect.Ptr) && !b.IsNil() {
yaml.go#L431: if (kind == reflect.Ptr || kind == reflect.Interface) && v.IsNil() {
yaml.go#L439: case reflect.Interface, reflect.Ptr:
internal/fmtsort
sort.go#L170: case reflect.Interface:
text/template
exec.go#L320: case reflect.Chan, reflect.Func, reflect.Ptr, reflect.Interface:
exec.go#L438: if value.Kind() == reflect.Interface && value.Type().NumMethod() == 0 {
exec.go#L595: if receiver.Kind() == reflect.Interface && isNil {
exec.go#L605: if ptr.Kind() != reflect.Interface && ptr.Kind() != reflect.Ptr && ptr.CanAddr() {
exec.go#L741: case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice:
exec.go#L766: if value.Kind() == reflect.Interface && !value.IsNil() {
exec.go#L822: case reflect.Interface:
exec.go#L935: for ; v.Kind() == reflect.Ptr || v.Kind() == reflect.Interface; v = v.Elem() {
exec.go#L948: if v.Kind() != reflect.Interface {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |