library/frontend/frontend.go

14 lines
149 B
Go
Raw Normal View History

2021-06-26 18:08:35 +00:00
package frontend
2021-07-02 22:13:58 +00:00
import (
"embed"
"io/fs"
)
2021-06-26 18:08:35 +00:00
//go:embed files
2021-07-02 22:13:58 +00:00
var static embed.FS
func Root() (fs.FS, error) {
return fs.Sub(static, "files")
}