mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 11:48:13 +01:00
12 lines
249 B
Go
12 lines
249 B
Go
package util
|
|
|
|
import "fmt"
|
|
|
|
func Printf(s string, args ...interface{}) {
|
|
fmt.Printf("\x1b[32m~ %v\x1b[0m\n", fmt.Sprintf(s, args...))
|
|
}
|
|
|
|
func Warningf(s string, args ...interface{}) {
|
|
fmt.Printf("\x1b[33m~ %v\x1b[0m\n", fmt.Sprintf(s, args...))
|
|
}
|