mirror of
https://github.com/glanceapp/glance.git
synced 2025-08-19 04:15:57 +02:00
Initial commit
This commit is contained in:
15
internal/assets/files.go
Normal file
15
internal/assets/files.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package assets
|
||||
|
||||
import (
|
||||
"embed"
|
||||
"io/fs"
|
||||
)
|
||||
|
||||
//go:embed static
|
||||
var _publicFS embed.FS
|
||||
|
||||
//go:embed templates
|
||||
var _templateFS embed.FS
|
||||
|
||||
var PublicFS, _ = fs.Sub(_publicFS, "static")
|
||||
var TemplateFS, _ = fs.Sub(_templateFS, "templates")
|
Reference in New Issue
Block a user