loading all templates automatically
This commit is contained in:
parent
9f858d50ae
commit
9462d98b96
12 changed files with 116 additions and 98 deletions
8
util.go
Normal file
8
util.go
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
package main
|
||||
|
||||
func unwrap[T any](output T, err error) T {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return output
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue