working on a go.work

This commit is contained in:
Jeff Carr 2024-03-07 19:28:46 -06:00
parent d2c25c754e
commit 3d5671660e
1 changed files with 2 additions and 2 deletions

View File

@ -29,11 +29,11 @@ func docsBox(vbox *gui.Node) {
fmt.Fprintln(f, "")
fmt.Fprintln(f, "use (")
for _, repo := range repolist.AllRepos() {
if repo.Exists("go.mod") {
if repo.Status.Exists("go.mod") {
fmt.Fprintln(f, "\t"+repo.Status.GoPath())
} else {
log.Info("missing go.mod for", repo.Status.Path())
repo.Status.MakeRedomod()
// repo.Status.MakeRedomod()
}
}
fmt.Fprintln(f, ")")