about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-02-28 18:30:02 +0100
committerEmile <hanemile@protonmail.com>2019-02-28 18:30:02 +0100
commit68b5784cb8ed8986b723595cb2e6833b428099a3 (patch)
tree93d52678e737dc48e7eb4ee8d950b673727800d4
parent237bf39cc75013ab1278e80a92c3647e4e958b06 (diff)
commented on the exported Index funtion
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index a799956..da2fdb0 100644
--- a/main.go
+++ b/main.go
@@ -68,6 +68,7 @@ func NFW(w http.ResponseWriter, r *http.Request) {
 	}
 }
 
+// Index handles request on the / endpoint
 func Index(w http.ResponseWriter, r *http.Request) {
 	log.Print(fmt.Fprintln(w, "usage: nfw.docker.localhost/NFW?x=<x>&y=<y>&z=<z>"))
 }