mirror of
https://github.com/nxshock/simplefileshare.git
synced 2024-11-28 03:21:00 +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")
|
||
|
}
|