Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UnitTime = progress.Units{ Notation: "", Formatter: FormatTime, }
UnitTime defines the value as a time unit.
Functions ¶
func FormatTime ¶
FormatTime formats the given value as a "Time".
func NewProgressWriter ¶
NewProgressWriter returns a new progress writer
Types ¶
type StatusWriter ¶
type StatusWriter struct { RunningColor text.Color RunningBackgroundColor text.Color PendingColor text.Color PendingBackgroundColor text.Color SuccessColor text.Color SuccessBackgroundColor text.Color FailedColor text.Color FailedBackgroundColor text.Color CanceledColor text.Color CanceledBackgroundColor text.Color SkippedColor text.Color SkippedBackgroundColor text.Color }
StatusWriter gitlab status writer
func NewStatusWriter ¶
func NewStatusWriter() *StatusWriter
NewStatusWriter returns a new status writer
func (*StatusWriter) Sprintf ¶
func (writer *StatusWriter) Sprintf(status string) string
Sprintf formats and colorizes the given status
Click to show internal directories.
Click to hide internal directories.