mirror of
https://github.com/nxshock/simplefileshare.git
synced 2024-11-27 03:11:01 +05:00
16 lines
163 B
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")
|
|
}
|