all repos — homestead @ 8abf706d2e9d70a3d11f58a9eb4c01a7e6b436c2

Code for my website

refactor: lint with golangci-lint

Alan Pearce
commit

8abf706d2e9d70a3d11f58a9eb4c01a7e6b436c2

parent

728423eaeb39d3db2fdab31f65a3dc503542762d

1 file changed, 2 insertions(+), 0 deletions(-)

changed files
M internal/builder/posts.gointernal/builder/posts.go
@@ -73,6 +73,7 @@ var buf bytes.Buffer
if err := markdown.Convert(content, &buf); err != nil { return "", errors.WithMessage(err, "could not convert markdown content") } + return buf.String(), nil }
@@ -121,5 +122,6 @@ }
slices.SortFunc(posts, func(a, b Post) int { return b.Date.Compare(a.Date) }) + return posts, tags, nil }