From aa387e2021ee630070641732e7a31c9ca715daf1 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 30 Dec 2024 15:58:41 +0400 Subject: [PATCH] Remove unused func AssetsGetFile(). --- web/web.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/web.go b/web/web.go index 7139d40..dfeb541 100644 --- a/web/web.go +++ b/web/web.go @@ -13,7 +13,3 @@ func Assets() http.FileSystem { f, _ := fs.Sub(assetsDir, "assets") return http.FS(f) } - -func AssetsGetFile(path string) ([]byte, error) { - return assetsDir.ReadFile("assets/" + path) -}