File: mono_reporter.go

package info (click to toggle)
golang-github-franela-goblin 0.0.1%2Bgit20211003.62.0a4f594-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 252 kB
  • sloc: makefile: 4
file content (30 lines) | stat: -rw-r--r-- 477 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}