You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package assert
|
|
|
|
import (
|
|
"fmt"
|
|
"strconv"
|
|
)
|
|
|
|
func prepMsg(msg []interface{}, format string, args ...interface{}) []interface{} {
|
|
return append(msg, "\n\n", fmt.Sprintf(format, args...))
|
|
}
|
|
|
|
func shell(i int) string {
|
|
return "\x1B[" + strconv.Itoa(i) + "m"
|
|
}
|