krz/skunky-art
Alternative privacy frontend for DeviantArt.
clone: git clone https://gitbay.org/krz/skunky-art.git
v1.3.5: static/templates.go · raw
1//go:build embed
2
3package static
4
5import "embed"
6
7// Templates is the asset filesystem compiled into the binary.
8//
9//go:embed *
10var Templates embed.FS
11
12// Enabled reports that assets are embedded in this build.
13var Enabled bool = true
14
15// StaticPath is accepted for parity with the non-embed build, where it names the
16// directory assets are read from. It is ignored here.
17var StaticPath string
18
19// CopyTemplatesToMemory is a no-op in this build: the assets are already embedded.
20func CopyTemplatesToMemory() {
21 _ = StaticPath
22}