package pages import ( _ "embed" "html/template" "net/http" ) //go:embed landing.gohtml var landContent string var landTmpl = template.Must(template.New("delayed.link").Parse(landContent)) func Land(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) err := landTmpl.Execute(w, nil) if err != nil { http.Error(w, err.Error(), http.StatusInternalServerError) } }