This is just a comment
authorjosuer08 <josuer08@gmail.com>
Mon, 24 Jul 2023 04:40:49 +0000 (00:40 -0400)
committerjosuer08 <josuer08@gmail.com>
Mon, 24 Jul 2023 04:40:49 +0000 (00:40 -0400)
vscpweb.go

index 5a3f2dde5eafdc944169542d5406bee8e490c6f0..f27e55aa17b7fa480f5258e3b509657ca38b6ead 100644 (file)
@@ -154,6 +154,7 @@ func indexHandler(w http.ResponseWriter, r *http.Request) {
        w.WriteHeader(http.StatusOK)
        passarg := "some passing argument"
        indexTemplate := template.Must(template.ParseFiles("templates/views/index.html"))
+    //check for go partial templates so you can extract blocks you want to use
        indexTemplate.Execute(w, passarg)
 
 }