mirror of
https://github.com/nxshock/gallery.git
synced 2024-11-27 00:11:00 +05:00
12 lines
171 B
Go
12 lines
171 B
Go
package main
|
|
|
|
import (
|
|
_ "embed"
|
|
"html/template"
|
|
)
|
|
|
|
//go:embed index.html
|
|
var mainTemplateStr string
|
|
|
|
var t = template.Must(template.New("main").Parse(mainTemplateStr))
|