summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'http.go')
-rw-r--r--http.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/http.go b/http.go
index a0b8d9c..8ab92b0 100644
--- a/http.go
+++ b/http.go
@@ -161,9 +161,9 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
testNext()
return
case "/fixNext":
- check := me.forge.Repos.FindByGoPath(me.current.GoPath())
+ check := me.forge.FindByGoPath(me.current.GetGoPath())
if check == nil {
- log.Info("boo, you didn't git clone", me.current.GoPath())
+ log.Info("boo, you didn't git clone", me.current.GetGoPath())
return
}
// destroy and recreate the go.sum
@@ -229,9 +229,9 @@ func startHTTP() {
func testNext() {
// re-scans the go.sum file. DOES NOT MODIFY ANYTHING
- check := me.forge.Repos.FindByGoPath(me.current.GoPath())
+ check := me.forge.FindByGoPath(me.current.GetGoPath())
if check == nil {
- log.Info("boo, you didn't git clone", me.current.GoPath())
+ log.Info("boo, you didn't git clone", me.current.GetGoPath())
return
}
@@ -257,9 +257,9 @@ func showNext() {
return
}
- check := me.forge.Repos.FindByGoPath(me.current.GoPath())
+ check := me.forge.FindByGoPath(me.current.GetGoPath())
if check == nil {
- log.Info("forge: how was this not found?", me.current.GoPath())
+ log.Info("forge: how was this not found?", me.current.GetGoPath())
return
}
@@ -278,7 +278,7 @@ func showNext() {
} else {
log.Info("IsPrimitive() == false")
}
- if me.forge.Config.IsPrivate(check.GoPath) {
+ if me.forge.Config.IsPrivate(check.GetGoPath()) {
log.Info("IsPrivate() == true")
} else {
log.Info("IsPrivate() == false")