From 3bbb49e74b8eab7714c2df1162d086f6d731e1e8 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 10 May 2024 23:05:24 +0200 Subject: build: optionally embed frontend files --- frontend/embedded.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 frontend/embedded.go (limited to 'frontend/embedded.go') diff --git a/frontend/embedded.go b/frontend/embedded.go new file mode 100644 index 0000000..5310d65 --- /dev/null +++ b/frontend/embedded.go @@ -0,0 +1,8 @@ +//go:build embed + +package frontend + +import "embed" + +//go:embed * +var Files embed.FS -- cgit 1.4.1