14 lines
149 B
Go
14 lines
149 B
Go
package frontend
|
|
|
|
import (
|
|
"embed"
|
|
"io/fs"
|
|
)
|
|
|
|
//go:embed files
|
|
var static embed.FS
|
|
|
|
func Root() (fs.FS, error) {
|
|
return fs.Sub(static, "files")
|
|
}
|