14 lines
160 B
Go
14 lines
160 B
Go
package web
|
|
|
|
import (
|
|
"embed"
|
|
"io/fs"
|
|
)
|
|
|
|
//go:embed all:build
|
|
var StaticFiles embed.FS
|
|
|
|
func Assets() (fs.FS, error) {
|
|
return fs.Sub(StaticFiles, "build")
|
|
}
|