(format string, a ...interface{})
| 432 | } |
| 433 | |
| 434 | func PrintErrorMsg(format string, a ...interface{}) { |
| 435 | format = fmt.Sprintf("\033[31m[ERROR] %s\033[0m\n", format) //Print error msg with red color |
| 436 | fmt.Printf(format, a...) |
| 437 | } |
| 438 | |
| 439 | func PrintWarnMsg(format string, a ...interface{}) { |
| 440 | format = fmt.Sprintf("\033[33m[WARN] %s\033[0m\n", format) //Print error msg with yellow color |
no outgoing calls
no test coverage detected