refactor: migrate from rice to embed.FS

This commit is contained in:
Oleg Lobanov
2021-03-09 18:59:19 +01:00
parent 0fe34ad224
commit fc5506179a
10 changed files with 42 additions and 140 deletions

10
frontend/assets.go Normal file
View File

@@ -0,0 +1,10 @@
package frontend
import "embed"
//go:embed dist/*
var assets embed.FS
func Assets() embed.FS {
return assets
}