Skip to content
Snippets Groups Projects
Unverified Commit 78fcac75 authored by Mark Sagi-Kazar's avatar Mark Sagi-Kazar
Browse files

feat: embed web assets

parent 3f0ca9b3
No related branches found
No related tags found
No related merge requests found
package web
import (
"embed"
"io/fs"
)
//go:embed static/* templates/* themes/*
var files embed.FS
// FS returns a filesystem with the default web assets.
func FS() fs.FS {
return files
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment