Fatalf logs the same way as Errorf() does, plus *exits* the process.
(format string, args ...any)
| 125 | |
| 126 | // Fatalf logs the same way as Errorf() does, plus *exits* the process. |
| 127 | func Fatalf(format string, args ...any) { |
| 128 | Errorf(format, args...) |
| 129 | // Return an error that is unlikely to be used by the application. |
| 130 | os.Exit(128) |
| 131 | } |
no test coverage detected
searching dependent graphs…