mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
Delete Data Conversion Tool
This commit is contained in:
parent
03455e8207
commit
9ba6a43e74
@ -71,9 +71,10 @@ func colorErrPrint(msg string) {
|
|||||||
const redColor = "\033[31m"
|
const redColor = "\033[31m"
|
||||||
// ANSI escape code to reset color
|
// ANSI escape code to reset color
|
||||||
const resetColor = "\033[0m"
|
const resetColor = "\033[0m"
|
||||||
|
msg = resetColor + msg + resetColor
|
||||||
// Format the string as per provided format and arguments
|
// Format the string as per provided format and arguments
|
||||||
// Print to stderr in red
|
// Print to stderr in red
|
||||||
fmt.Fprintf(os.Stderr, "%s", msg)
|
fmt.Fprintf(os.Stderr, "%s\n", msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
func colorSuccessPrint(format string, a ...interface{}) {
|
func colorSuccessPrint(format string, a ...interface{}) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user