simplefileshare/site.go

16 lines
163 B
Go

package main
import (
"embed"
"io/fs"
)
//go:embed site/*
var siteFS embed.FS
var stripSiteFS fs.FS
func init() {
stripSiteFS, _ = fs.Sub(siteFS, "site")
}