embed: add specificity
This commit is contained in:
parent
a2c17693c6
commit
0125bff8bd
4
embed.go
4
embed.go
@ -3,9 +3,9 @@ package main
|
|||||||
import "embed"
|
import "embed"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
//go:embed templates
|
//go:embed all:templates
|
||||||
templates embed.FS
|
templates embed.FS
|
||||||
|
|
||||||
//go:embed assets
|
//go:embed assets assets/img
|
||||||
assets embed.FS
|
assets embed.FS
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user