Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultColor = "#9f9f9f" // Grey
)
Variables ¶
View Source
var StatusColorMap = map[actions_model.Status]string{ actions_model.StatusSuccess: "#4c1", actions_model.StatusSkipped: "#dfb317", actions_model.StatusUnknown: "#97ca00", actions_model.StatusFailure: "#e05d44", actions_model.StatusCancelled: "#fe7d37", actions_model.StatusWaiting: "#dfb317", actions_model.StatusRunning: "#dfb317", actions_model.StatusBlocked: "#dfb317", }
Functions ¶
This section is empty.
Types ¶
type Badge ¶
func GenerateBadge ¶
GenerateBadge generates badge with given template
type Label ¶
type Label struct {
// contains filtered or unexported fields
}
func (Label) TextLength ¶
Click to show internal directories.
Click to hide internal directories.