From 37ec8e26c0b18878d85062aa8a0f206325648a74 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Tue, 24 Aug 2021 23:27:12 +0300 Subject: [PATCH] More docs --- badge.go | 1 + 1 file changed, 1 insertion(+) diff --git a/badge.go b/badge.go index 5cd8e49..ffc6c89 100644 --- a/badge.go +++ b/badge.go @@ -213,6 +213,7 @@ func (g *Generator) generateBadgeSimple(template, message, color string) []byte // ////////////////////////////////////////////////////////////////////////////////// // +// formatColor formats color func formatColor(c string) string { if strings.HasPrefix(c, "#") { c = strings.TrimLeft(c, "#")