From aafe0566d7963de8a37e97389e2c1b965d1d6604 Mon Sep 17 00:00:00 2001 From: Claudio Maggioni Date: Fri, 26 May 2017 15:45:45 +0200 Subject: [PATCH] Interfaccia servita --- html.go | 2 +- Interfaccia.html => template/Interfaccia.html | 0 template/hello.html | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) rename Interfaccia.html => template/Interfaccia.html (100%) delete mode 100644 template/hello.html diff --git a/html.go b/html.go index 0907ea0..2485590 100644 --- a/html.go +++ b/html.go @@ -12,7 +12,7 @@ func ServiHTML() { } func handlerRoot(w http.ResponseWriter, r *http.Request) { - templ, err := template.ParseFiles("template/hello.html") + templ, err := template.ParseFiles("template/Interfaccia.html") if err != nil { panic(err.Error()) } diff --git a/Interfaccia.html b/template/Interfaccia.html similarity index 100% rename from Interfaccia.html rename to template/Interfaccia.html diff --git a/template/hello.html b/template/hello.html deleted file mode 100644 index ce01362..0000000 --- a/template/hello.html +++ /dev/null @@ -1 +0,0 @@ -hello