about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/http.go1
1 files changed, 1 insertions, 0 deletions
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)