Merge branch 'main' of github.com:Bronku/iroon

This commit is contained in:
Bronku 2025-01-31 17:00:13 +01:00
commit ca4e073cf0

View file

@ -34,3 +34,12 @@ func LoadTemplates(fs fs.ReadDirFS) map[string]*template.Template {
}
return tmpl
}
package main
func unwrap[T any](output T, err error) T {
if err != nil {
panic(err)
}
return output
}