working on a go.work
This commit is contained in:
parent
d2c25c754e
commit
3d5671660e
4
docs.go
4
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, ")")
|
||||
|
|
Loading…
Reference in New Issue