summaryrefslogtreecommitdiff
path: root/docs.go
diff options
context:
space:
mode:
Diffstat (limited to 'docs.go')
-rw-r--r--docs.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs.go b/docs.go
index f740db3..b5baca2 100644
--- a/docs.go
+++ b/docs.go
@@ -30,10 +30,10 @@ func docsBox(vbox *gui.Node) {
fmt.Fprintln(f, "use (")
for _, repo := range repolist.AllRepos() {
if repo.Exists("go.mod") {
- fmt.Fprintln(f, "\t"+repo.String())
+ fmt.Fprintln(f, "\t"+repo.Status.GoPath())
} else {
- log.Info("missing go.mod for", repo.String())
- repo.MakeRedomod()
+ log.Info("missing go.mod for", repo.Status.Path())
+ repo.Status.MakeRedomod()
}
}
fmt.Fprintln(f, ")")