Print prints a formatted message to Stdout. It also gets printed to the panic log if one is created for this command.
(format string, args ...interface{})
| 214 | // Print prints a formatted message to Stdout. It also gets printed to the |
| 215 | // panic log if one is created for this command. |
| 216 | func Print(format string, args ...interface{}) { |
| 217 | if len(args) == 0 { |
| 218 | fmt.Fprintln(OutputWriter, format) |
| 219 | return |
| 220 | } |
| 221 | fmt.Fprintf(OutputWriter, format+"\n", args...) |
| 222 | } |
| 223 | |
| 224 | // Exit prints a formatted message and exits. |
| 225 | func Exit(format string, args ...interface{}) { |
no outgoing calls
no test coverage detected