embeded templates
This commit is contained in:
parent
bf78461bbb
commit
9e4d1a6a28
18 changed files with 63 additions and 58 deletions
7
embed/embed.go
Normal file
7
embed/embed.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package embed
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed templates/*.tmpl templates/**/*
|
||||
var Templates embed.FS
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue