From 40e6cd24817dde881f57a239145e00db5aa4a045 Mon Sep 17 00:00:00 2001 From: Emile Date: Sat, 19 Oct 2019 17:31:54 +0200 Subject: function comment --- src/http.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src/http.go') diff --git a/src/http.go b/src/http.go index e08ed68..00f26a4 100644 --- a/src/http.go +++ b/src/http.go @@ -50,6 +50,7 @@ func createPostHandler(w http.ResponseWriter, r *http.Request) { log.Println("create POST") } +// viewGetHandler returns a list of all challenges in the database func viewGetHandler(w http.ResponseWriter, r *http.Request) { // get all challenges from the db challs := getAllChallenges(db) -- cgit 1.4.1