Documentation
¶
Overview ¶
Package renderer provides SVG badge rendering with multiple style templates.
Index ¶
Constants ¶
View Source
const ( ColorBrightgreen = Color("brightgreen") ColorGreen = Color("green") ColorYellow = Color("yellow") ColorYellowgreen = Color("yellowgreen") ColorOrange = Color("orange") ColorRed = Color("red") ColorBlue = Color("blue") ColorGrey = Color("grey") ColorGray = Color("gray") ColorLightgrey = Color("lightgrey") ColorLightgray = Color("lightgray") )
Standard colors.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Color ¶
type Color string
Color represents color of the badge.
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func NewRenderer ¶
Click to show internal directories.
Click to hide internal directories.