Versions in this module Expand all Collapse all v0 v0.6.0 Jun 11, 2021 v0.5.0 Jun 11, 2021 Changes in this version + var FailColor color.Color = color.RGBA + var InfoColor color.Color = color.RGBA + var PassColor color.Color = color.RGBA + var WarnColor color.Color = color.RGBA + type Badge struct + Caption string + Color color.Color + Height int + MinWidth int + Text string + func (b *Badge) ApplyDefaults() + func (b *Badge) CalculateWidths() (int, int, int) + func (b *Badge) DrawImage() *image.RGBA + func (b *Badge) DrawSVG() string