(v reflect.Type)
| 447 | } |
| 448 | |
| 449 | func isCleanup(v reflect.Type) bool { |
| 450 | if v.Kind() == reflect.Func && v.NumIn() == 0 && v.NumOut() == 0 { |
| 451 | return true |
| 452 | } |
| 453 | return false |
| 454 | } |
| 455 | |
| 456 | type cleanup func() |
| 457 |
no outgoing calls
no test coverage detected