23 lines
227 B
Go
23 lines
227 B
Go
package assets
|
|
|
|
import (
|
|
"embed"
|
|
"io/fs"
|
|
)
|
|
|
|
//go:embed stylesheets/out.css
|
|
var files embed.FS
|
|
|
|
func Files(local ...bool) fs.FS {
|
|
var l bool
|
|
if len(local) > 0 {
|
|
l = local[0]
|
|
}
|
|
|
|
if !l {
|
|
return files
|
|
}
|
|
|
|
return files
|
|
}
|