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/static.go | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 static/static.go (limited to 'static/static.go') diff --git a/static/static.go b/static/static.go new file mode 100644 index 0000000..ada0434 --- /dev/null +++ b/static/static.go @@ -0,0 +1,6 @@ +package static + +import "embed" + +//go:embed * +var Static embed.FS -- cgit v1.2.3