CheckfNoTrace is Checkf without a stack trace.
(err error)
| 43 | |
| 44 | // CheckfNoTrace is Checkf without a stack trace. |
| 45 | func CheckfNoTrace(err error) { |
| 46 | if err != nil { |
| 47 | log.Fatal(err.Error()) |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | // CheckfNoLog exits on error without any message (to avoid duplicate error messages). |
| 52 | func CheckfNoLog(err error) { |
no test coverage detected