2 ms·
import ( _ “embed” ) // go:embed frontend/* Just plain HTML/CSS/JS. I’ve been trying out templ but I still prefer having static files I can host separately.
by _lvbh 2y ago
import (
_ “embed”
)
// go:embed frontend/*
Just plain HTML/CSS/JS. I’ve been trying out templ but I still prefer having static files I can host separately.