isContext returns true if the "typ" is a type of Context.
(typ reflect.Type)
| 177 | |
| 178 | // isContext returns true if the "typ" is a type of Context. |
| 179 | func isContext(typ reflect.Type) bool { |
| 180 | return typ == contextType |
| 181 | } |
| 182 | |
| 183 | var errTyp = reflect.TypeOf((*error)(nil)).Elem() |
| 184 |
no outgoing calls
no test coverage detected
searching dependent graphs…