add:badges

This commit is contained in:
kokopi-dev
2026-03-10 19:06:17 +09:00
parent 63699c2450
commit 313548cd99
9 changed files with 225 additions and 127 deletions

8
helpers/ui.go Normal file
View File

@@ -0,0 +1,8 @@
package helpers
func TemplIf[T any](cond bool, a, b T) T {
if cond {
return a
}
return b
}