(a ...interface{})
| 24 | ) |
| 25 | |
| 26 | func Print(a ...interface{}) (n int) { |
| 27 | n, err := Default.Print(a...) |
| 28 | if err != nil { |
| 29 | // If something as basic as printing to stdout fails, just panic and exit |
| 30 | os.Exit(1) |
| 31 | } |
| 32 | return |
| 33 | } |
| 34 | |
| 35 | func Printf(format string, a ...interface{}) (n int) { |
| 36 | n, err := Default.Printf(format, a...) |
no test coverage detected
searching dependent graphs…