From 3d5671660eada63f33aab161c16bd60c3ae1dd2d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 7 Mar 2024 19:28:46 -0600 Subject: [PATCH] working on a go.work --- docs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs.go b/docs.go index b5baca2..ec5a989 100644 --- a/docs.go +++ b/docs.go @@ -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, ")")