Skip to content

Commit 3da42bc

Browse files
committed
add comment for style
1 parent ad0f9e2 commit 3da42bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/badge/badge.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ func (b Badge) Width() int {
5050
return b.Label.width + b.Message.width
5151
}
5252

53+
// styles follows https://shields.io/badges
5354
const (
5455
StyleFlat = "flat"
5556
StyleFlatSquare = "flat-square"

0 commit comments

Comments
 (0)