Check2 acts as convenience wrapper around Check, using the 2nd argument as error.
(_ interface{}, err error)
| 57 | |
| 58 | // Check2 acts as convenience wrapper around Check, using the 2nd argument as error. |
| 59 | func Check2(_ interface{}, err error) { |
| 60 | Check(err) |
| 61 | } |
| 62 | |
| 63 | // Panic on error. |
| 64 | func Panic(err error) { |