This commit is contained in:
Henrique Dias committed 2015-09-12 22:18:29 +01:00
1 parent 6966cb7392
commit 6cdc145809
3 files changed
+4 -5

No files matched your search

+2
View File
@@ -20,6 +20,8 @@ func Execute(w http.ResponseWriter, r *http.Request, file string) (int, error) {
}
file, _ := ioutil.ReadFile(file)
// render the template here
w.Write([]byte(string(file)))
}