dont access global vars inject them

This commit is contained in:
6543
2021-12-05 14:45:17 +01:00
parent fb5726bd20
commit bdc2d0c259
11 changed files with 730 additions and 706 deletions

6
html/html.go Normal file
View File

@ -0,0 +1,6 @@
package html
import _ "embed"
//go:embed 404.html
var NotFoundPage []byte