reflect.Type.Implements (method)
14 uses
reflect (current package)
type.go#L119: Implements(u Type) bool
encoding/json
decode.go#L642: if !reflect.PointerTo(t.Key()).Implements(textUnmarshalerType) {
decode.go#L777: if reflect.PointerTo(kt).Implements(textUnmarshalerType) {
encode.go#L426: if t.Kind() != reflect.Pointer && allowAddr && reflect.PointerTo(t).Implements(marshalerType) {
encode.go#L429: if t.Implements(marshalerType) {
encode.go#L432: if t.Kind() != reflect.Pointer && allowAddr && reflect.PointerTo(t).Implements(textMarshalerType) {
encode.go#L435: if t.Implements(textMarshalerType) {
encode.go#L816: if !t.Key().Implements(textMarshalerType) {
encode.go#L871: if !p.Implements(marshalerType) && !p.Implements(textMarshalerType) {
encode.go#L1195: case t.Kind() == reflect.Interface && t.Implements(isZeroerType):
encode.go#L1203: case t.Kind() == reflect.Pointer && t.Implements(isZeroerType):
encode.go#L1208: case t.Implements(isZeroerType):
encode.go#L1212: case reflect.PointerTo(t).Implements(isZeroerType):
 |
The pages are generated with Golds v0.8.4. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |