2023-11-27 23:46:19 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
const (
|
2023-11-29 01:24:00 +00:00
|
|
|
RESET = "\033[0m"
|
|
|
|
BOLD = "\033[1m"
|
|
|
|
YELLOW = "\033[33m"
|
2023-11-27 23:46:19 +00:00
|
|
|
)
|
|
|
|
|
2023-11-29 01:24:00 +00:00
|
|
|
func Yellow(text string) string {
|
|
|
|
return fmt.Sprintf("%s%s%s", YELLOW, text, RESET)
|
|
|
|
}
|
|
|
|
|
2023-11-27 23:46:19 +00:00
|
|
|
func Bold(text string) string {
|
|
|
|
return fmt.Sprintf("%s%s%s", BOLD, text, RESET)
|
|
|
|
}
|