13
web/static.go
Normal file
13
web/static.go
Normal file
@ -0,0 +1,13 @@
|
||||
package static
|
||||
|
||||
import "embed"
|
||||
|
||||
var (
|
||||
//go:embed static
|
||||
FileSystem embed.FS
|
||||
)
|
||||
|
||||
const (
|
||||
RootPath = "static"
|
||||
IndexPath = RootPath + "/index.html"
|
||||
)
|
Reference in New Issue
Block a user