package frontend import ( "embed" "io/fs" ) //go:embed files var static embed.FS //go:embed admin var admin embed.FS func Root() (fs.FS, error) { return fs.Sub(static, "files") } func AdminRoot() (fs.FS, error) { return fs.Sub(admin, "admin") }