Implements this type the error interface
(t reflect.Type)
| 66 | |
| 67 | // Implements this type the error interface |
| 68 | func isErrorType(t reflect.Type) bool { |
| 69 | for t.Kind() == reflect.Ptr { |
| 70 | t = t.Elem() |
| 71 | } |
| 72 | return t.Implements(errorType) |
| 73 | } |
| 74 | |
| 75 | var subscriptionType = reflect.TypeOf((*Subscription)(nil)).Elem() |
| 76 |
no outgoing calls
no test coverage detected