From eef1fc09132415c28796c36eccf03de3654aedfd Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 22 Oct 2025 13:25:00 -0500 Subject: trying to figure this out --- http.go | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'http.go') 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) -- cgit v1.2.3