It is giving me the error of :
template/login.html: no such file or directory
But that directory exists
func startLoginHtml(w http.ResponseWriter, r *http.Request) {
log.Println("Merging Html Files")
var homepage QuestData
layout := path.Join("template", "login.html")
content := path.Join("template", "content.html")
tmpl, err := template.ParseFiles(layout, content)
if err != nil {
log.Println("Error", err)
}
tmpl.ExecuteTemplate(w, "my-template", homepage)
log.Println("Finished Merging Html")
}