aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/go/snip-web-app-handlefunc.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/go/snip-web-app-handlefunc.go b/template/go/snip-web-app-handlefunc.go
new file mode 100644
index 0000000..ff0c77b
--- /dev/null
+++ b/template/go/snip-web-app-handlefunc.go
@@ -0,0 +1,3 @@
+http.HandleFunc("/", func (w http.ResponseWriter, r *http.Request) {
+ fmt.Fprintf(w, "")
+})