summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'http.go')
-rw-r--r--http.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/http.go b/http.go
index 625e043..8a470c3 100644
--- a/http.go
+++ b/http.go
@@ -3,11 +3,8 @@ package main
import (
"fmt"
"net/http"
- "os"
- "path/filepath"
"strings"
- "go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -32,18 +29,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
}
}
-func testGoRepo(check *gitpb.Repo) {
- data, _ := os.ReadFile(filepath.Join(check.FullPath, "go.mod"))
- log.Info(string(data))
-
- if err := me.forge.FinalGoDepsCheckOk(check, true); err == nil {
- log.Info("forge.FinalGoDepsCheck(check) worked!")
- } else {
- log.Info("forge.FinalGoDepsCheck(check) failed. boo.")
- }
-
-}
-
// starts and sits waiting for HTTP requests
func startHTTP() {
http.HandleFunc("/", okHandler)