(a ...interface{})
| 60 | } |
| 61 | |
| 62 | func Errorln(a ...interface{}) (n int) { |
| 63 | n, err := Default.Errorln(a...) |
| 64 | if err != nil { |
| 65 | // If something as basic as printing to stderr fails, just panic and exit |
| 66 | os.Exit(1) |
| 67 | } |
| 68 | return |
| 69 | } |
| 70 | |
| 71 | func IsTerminal(f *os.File) bool { |
| 72 | return isatty.IsTerminal(f.Fd()) |
no test coverage detected
searching dependent graphs…