Refactor app sous v4/
This commit is contained in:
parent
c74e093a3b
commit
3ccebd8cfb
19 changed files with 1372 additions and 0 deletions
10
v4/web/embed.go
Normal file
10
v4/web/embed.go
Normal file
|
@ -0,0 +1,10 @@
|
|||
package web
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed templates
|
||||
var templates embed.FS
|
||||
|
||||
func GetTemplates() embed.FS {
|
||||
return templates
|
||||
}
|
1
v4/web/templates/index.html
Normal file
1
v4/web/templates/index.html
Normal file
|
@ -0,0 +1 @@
|
|||
Hello world from bottin
|
Reference in a new issue