From 7e3a8e75240cd2a171dd24128695d755edd54384 Mon Sep 17 00:00:00 2001 From: Gavin Adams Date: Mon, 26 Feb 2024 09:43:59 -0500 Subject: [PATCH] fix: go formatting --- src/docker_assets/convert.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/docker_assets/convert.go b/src/docker_assets/convert.go index bc5982d..3ef612e 100644 --- a/src/docker_assets/convert.go +++ b/src/docker_assets/convert.go @@ -30,6 +30,7 @@ import ( "github.com/spf13/afero" + uml "github.com/OhYee/goldmark-plantuml" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/markup/converter" "github.com/gohugoio/hugo/markup/highlight" @@ -42,7 +43,6 @@ import ( "github.com/yuin/goldmark/renderer/html" "github.com/yuin/goldmark/text" "github.com/yuin/goldmark/util" - uml "github.com/OhYee/goldmark-plantuml" ) // Provider is the package entry point. @@ -153,7 +153,6 @@ func newMarkdown(pcfg converter.ProviderConfig) goldmark.Markdown { extensions = append(extensions, uml.Default) } - md := goldmark.New( goldmark.WithExtensions( extensions..., @@ -361,4 +360,4 @@ func newHighlighting(cfg highlight.Config) goldmark.Extender { w.WriteString("") }), ) -} \ No newline at end of file +}