mirror of
https://github.com/nxshock/simplefileshare.git
synced 2025-01-18 11:11:10 +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")
|
||
|
}
|