Documentation ¶
Overview ¶
Package badge provides function(s) for creating SVG badges.
Badge designs are based on Shields.IO's specification found in https://github.com/badges/shields/blob/master/spec/SPECIFICATION.md
Index ¶
Constants ¶
View Source
const ( BadgeStyleClassic = "classic" BadgeStyleFlat = "flat" BadgeStylePlastic = "plastic" BadgeStyleSemaphore = "semaphore" )
Supported badge styles
Variables ¶
This section is empty.
Functions ¶
func GenerateSVG ¶
GenerateSVG returns a string representation of the generated SVG badge
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.