aboutsummaryrefslogtreecommitdiff
path: root/static.go
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-07-19 21:13:34 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-07-19 21:13:34 +0200
commit049b9acbd9635c206f5eeb01074b5d63803c4cd5 (patch)
treefe2caacb21445edcb93f13ab73ed5f0d1430c65a /static.go
parentb8b6d3037c524575f140650ac243c16df6a98a92 (diff)
downloadlens-049b9acbd9635c206f5eeb01074b5d63803c4cd5.tar.gz
lens-049b9acbd9635c206f5eeb01074b5d63803c4cd5.tar.bz2
lens-049b9acbd9635c206f5eeb01074b5d63803c4cd5.zip
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.
Diffstat (limited to 'static.go')
-rw-r--r--static.go10
1 files changed, 0 insertions, 10 deletions
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
-)