fix: lint issues (#280)

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker
2024-03-08 16:32:19 -03:00
committed by GitHub
parent 77f8c87aa1
commit ef3b2d1936
3 changed files with 25 additions and 26 deletions
+3 -5
View File
@@ -16,11 +16,9 @@ const (
chromaStyleTheme = "charm"
)
var (
// mutex for synchronizing access to the chroma style registry.
// Related https://github.com/alecthomas/chroma/pull/650
mutex = sync.Mutex{}
)
// mutex for synchronizing access to the chroma style registry.
// Related https://github.com/alecthomas/chroma/pull/650
var mutex = sync.Mutex{}
// A CodeBlockElement is used to render code blocks.
type CodeBlockElement struct {