From f74166bf96c408043794d057cb616d73e058bdbb Mon Sep 17 00:00:00 2001 From: kekskurse Date: Sun, 16 Jan 2022 00:45:34 +0100 Subject: [PATCH] Sort --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index c6375aa..d8af372 100644 --- a/main.go +++ b/main.go @@ -8,6 +8,7 @@ import ( "github.com/rs/zerolog/log" "net/http" "os" + "sort" "strconv" "strings" "text/template" @@ -59,6 +60,8 @@ func runHttpServer() { taglist = append(taglist, s) } + sort.Strings(taglist) + var daylist []string for i := 0; i <= 7; i++ { g := -1 * 24 * i