Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HumanResultWriter ¶
type HumanResultWriter struct {
// contains filtered or unexported fields
}
func (*HumanResultWriter) WriteResult ¶
func (w *HumanResultWriter) WriteResult(result *api.CheckResult) error
type Option ¶
type Option func(w *HumanResultWriter)
func WithColors ¶
func WithMode ¶
func WithMode(mode OutputMode) Option
type OutputMode ¶
type OutputMode int
const ( // OutputModeTest causes the writer to prepend a plain-text // description of the check result (PASS, FAIL, SKIP, etc) OutputModeText OutputMode = iota // OutputModeEmoji causes the writer to prepend an emoji // describing the check result. OutputModeEmoji )
func (OutputMode) String ¶
func (m OutputMode) String() string
Click to show internal directories.
Click to hide internal directories.