mirror of
https://github.com/parkan/go-hauk.git
synced 2026-05-08 16:47:46 +02:00
embed frontend static files
This commit is contained in:
6
frontend/embed.go
Normal file
6
frontend/embed.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package frontend
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed index.html main.js style.css lib assets
|
||||
var Files embed.FS
|
||||
Reference in New Issue
Block a user