Skip to content
Snippets Groups Projects
Commit 8c4c44df authored by Hans Kristian Hoel's avatar Hans Kristian Hoel
Browse files

removed issues

parent ef690369
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,6 @@ func main() {
http.HandleFunc("/", assignment2.HandlerNil)
http.HandleFunc("/repocheck/v1/commits", assignment2.HandlerCommits) // runs handelr function
// http.HandleFunc("/repocheck/v1/languages", assignment2.HandlerLanguages) // runs handelr function
// http.HandleFunc("/repocheck/v1/issues", assignment2.HandlerIssues) // runs handelr function
http.HandleFunc("/repocheck/v1/status", assignment2.HandlerStatus) // runs handelr function
// http.HandleFunc("/repocheck/v1/webhooks", assignment2.HandlerWebhooks) // runs handelr function
fmt.Println("Listening on port " + port)
......
......@@ -124,17 +124,6 @@ func HandlerCommits(w http.ResponseWriter, r *http.Request) {
// }
// func HandlerIssues(w http.ResponseWriter, r *http.Request) {
// types := r.URL.Query().Get("type")
// if types == "" {
// // error
// }
// auth := QueryGet("auth", "false", r)
// }
func HandlerStatus(w http.ResponseWriter, r *http.Request) {
var S Status
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment