loading all templates automatically

This commit is contained in:
Bronku 2025-01-31 16:56:12 +01:00
parent 9f858d50ae
commit 9462d98b96
12 changed files with 116 additions and 98 deletions

8
util.go Normal file
View file

@ -0,0 +1,8 @@
package main
func unwrap[T any](output T, err error) T {
if err != nil {
panic(err)
}
return output
}