Skip to content
Snippets Groups Projects
Commit 2cac473f authored by Aksel Baardsen's avatar Aksel Baardsen
Browse files

added correct comments

parent 0ef9d660
Branches
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ func Chandler(w http.ResponseWriter, r *http.Request) {
log.Fatal(err)
}
} else {
// need to check error for content when setting header (pkg.CorrectHeader)
// return with correct header
pkg.HttpError(w, err)
}
}
......@@ -21,6 +21,7 @@ func Dhandler(w http.ResponseWriter, r *http.Request) {
log.Fatal(err)
}
} else {
// return with correct header
pkg.HttpError(w, err)
}
}
......@@ -23,6 +23,7 @@ func Shandler(w http.ResponseWriter, r *http.Request) {
log.Fatal(err)
}
} else {
// return with correct header
pkg.HttpError(w, err)
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment