From 049b9acbd9635c206f5eeb01074b5d63803c4cd5 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Wed, 19 Jul 2023 21:13:34 +0200 Subject: ref: Remove static fs on root Go embed does allow to load parent folder, so I move static fs to static folder as I think it fits better there than in the root of the project. --- static.go | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 static.go (limited to 'static.go') diff --git a/static.go b/static.go deleted file mode 100644 index 06f1459..0000000 --- a/static.go +++ /dev/null @@ -1,10 +0,0 @@ -package img - -import ( - "embed" -) - -var ( - //go:embed static/* - StaticFS embed.FS -) -- cgit v1.2.3