(v reflect.Value)
| 71 | } |
| 72 | |
| 73 | func safeObject(v reflect.Value) interface{} { |
| 74 | if v.IsNil() { |
| 75 | return nil |
| 76 | } |
| 77 | return v.Interface() |
| 78 | } |
| 79 | |
| 80 | func funcToHandler(ctx context.Context, f reflect.Value) Handler { |
| 81 | t, err := checkSignature(ctx, f.Type(), |
no test coverage detected