mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-14 09:50:40 +00:00
27 lines
408 B
Go
27 lines
408 B
Go
|
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
|
||
|
}
|