aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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])