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.
27 lines
408 B
27 lines
408 B
8 years ago
|
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
|
||
|
}
|