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.
26 lines
408 B
26 lines
408 B
package goblin
|
|
|
|
import ()
|
|
|
|
type Monochrome struct {
|
|
}
|
|
|
|
func (self *Monochrome) Red(text string) string {
|
|
return "!" + text
|
|
}
|
|
|
|
func (self *Monochrome) Gray(text string) string {
|
|
return text
|
|
}
|
|
|
|
func (self *Monochrome) Cyan(text string) string {
|
|
return text
|
|
}
|
|
|
|
func (self *Monochrome) WithCheck(text string) string {
|
|
return ">>>" + text
|
|
}
|
|
|
|
func (self *Monochrome) Green(text string) string {
|
|
return text
|
|
}
|
|
|