diff options
Diffstat (limited to 'docs.go')
| -rw-r--r-- | docs.go | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -6,6 +6,7 @@ import ( "path/filepath" "go.wit.com/gui" + "go.wit.com/lib/gui/repolist" "go.wit.com/lib/gui/shell" "go.wit.com/log" ) @@ -27,12 +28,12 @@ func docsBox(vbox *gui.Node) { fmt.Fprintln(f, "go 1.21.4") fmt.Fprintln(f, "") fmt.Fprintln(f, "use (") - for _, repo := range me.allrepos { - if repo.status.Exists("go.mod") { + for _, repo := range repolist.AllRepos() { + if repo.Exists("go.mod") { fmt.Fprintln(f, "\t"+repo.String()) } else { log.Info("missing go.mod for", repo.String()) - repo.status.MakeRedomod() + repo.MakeRedomod() } } fmt.Fprintln(f, ")") |
