refactor: migrate from rice to embed.FS

This commit is contained in:
Oleg Lobanov committed 2021-03-09 19:09:32 +01:00
1 parent 0fe34ad224
commit fc5506179a
10 files changed
+42 -140

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
package frontend
import "embed"
//go:embed dist/*
var assets embed.FS
func Assets() embed.FS {
return assets
}
+4
View File
@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore