Fatal prints error and exits if errir
(i ...interface{})
| 24 | |
| 25 | // Fatal prints error and exits if errir |
| 26 | func Fatal(i ...interface{}) { |
| 27 | fmt.Fprint(os.Stderr, "overmind: ") |
| 28 | fmt.Fprintln(os.Stderr, i...) |
| 29 | os.Exit(1) |
| 30 | } |
| 31 | |
| 32 | // EscapeTitle makes title usable for tmux session name |
| 33 | func EscapeTitle(title string) string { |
no outgoing calls
no test coverage detected
searching dependent graphs…