initial commit

This commit is contained in:
Victor Lacasse-Beaudoin 2024-12-23 20:57:58 -05:00
commit cc8c8ef967
10 changed files with 398 additions and 0 deletions

10
ui/embed.go Normal file
View file

@ -0,0 +1,10 @@
package ui
import "embed"
//go:embed *.html
var htmlFS embed.FS
func HTMLFS() embed.FS {
return htmlFS
}

4
ui/index.html Normal file
View file

@ -0,0 +1,4 @@
{{ define "index" }}
hello world
{{ . }}
{{ end }}

3
ui/test.html Normal file
View file

@ -0,0 +1,3 @@
{{ define "test" }}
{{ . }}
{{ end }}