aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-06-27 22:36:40 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-06-27 22:36:40 +0300
commitf7e25c6d0c6e99f00131cc7837f02ff62913ca6f (patch)
tree00872a693579389b4a1c74876cfb707706060acb /pkg/app/handler/categories/show.templ
parentabout: add link to commit when showing soko's current commit id (diff)
downloadsoko-f7e25c6d0c6e99f00131cc7837f02ff62913ca6f.tar.gz
soko-f7e25c6d0c6e99f00131cc7837f02ff62913ca6f.tar.bz2
soko-f7e25c6d0c6e99f00131cc7837f02ff62913ca6f.zip
templ: fmt imports
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'pkg/app/handler/categories/show.templ')
-rw-r--r--pkg/app/handler/categories/show.templ12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkg/app/handler/categories/show.templ b/pkg/app/handler/categories/show.templ
index 639dd14..5065809 100644
--- a/pkg/app/handler/categories/show.templ
+++ b/pkg/app/handler/categories/show.templ
@@ -1,10 +1,12 @@
package categories
-import "net/http"
-import "strconv"
-import "strings"
-import "soko/pkg/app/layout"
-import "soko/pkg/models"
+import (
+ "net/http"
+ "soko/pkg/app/layout"
+ "soko/pkg/models"
+ "strconv"
+ "strings"
+)
func packageLetter(name string) string {
return strings.ToLower(strings.TrimLeft(name, "_")[:1])