Convert to go
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package web
|
||||
|
||||
import (
|
||||
"embed"
|
||||
"html/template"
|
||||
)
|
||||
|
||||
//go:embed page.html
|
||||
var templateFS embed.FS
|
||||
|
||||
var pageTemplate = template.Must(template.ParseFS(templateFS, "page.html"))
|
||||
Reference in New Issue
Block a user