16 lines
296 B
Go
16 lines
296 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func bold(str string) string {
|
|
return fmt.Sprintf("\x1b[1m%s\x1b[0m", str)
|
|
}
|
|
|
|
func success(str string) string {
|
|
return fmt.Sprintf("\x1b[58;2;26;221;120m%s\x1b[0m", str)
|
|
}
|
|
|
|
func error(str string) string {
|
|
return fmt.Sprintf("\x1b[58;2;221;26;120m%s\x1b[0m", str)
|
|
}
|