From ed3785af448e7fbc149eef713def1474bbbaf6a8 Mon Sep 17 00:00:00 2001 From: Bronku Date: Fri, 31 Jan 2025 17:00:45 +0100 Subject: [PATCH] =?UTF-8?q?=20co=20tu=20si=C4=99=20odjeba=C5=82o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/util.go b/util.go index 0055e69..7a9afdf 100644 --- a/util.go +++ b/util.go @@ -34,12 +34,3 @@ 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 -}