1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-18 08:26:45 +02:00
woodpecker/vendor/github.com/franela/goblin/mono_reporter.go

27 lines
408 B
Go
Raw Normal View History

2016-03-07 21:23:49 +02:00
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
}