summaryrefslogtreecommitdiff
path: root/docs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-17 15:47:46 -0600
committerJeff Carr <[email protected]>2024-02-17 15:47:46 -0600
commit754371fdbf52d61dcd57d1b32b453b676cee01cf (patch)
tree83a80bb9632de359e4334142801ca676534b0883 /docs.go
parent15f334b2d2eab816b31e7f3a35e172e598bd5c19 (diff)
export Status
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, ")")