mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 12:44:22 +01:00
31 lines
477 B
Go
31 lines
477 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
|
|
}
|
|
|
|
func (self *Monochrome) Yellow(text string) string {
|
|
return text
|
|
}
|