diff options
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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) |
