From 7dd4dd08084bad7a206a0e14e22a13af0b69e83b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 18 Jan 2024 05:03:04 -0600 Subject: try auto go mod tidy Signed-off-by: Jeff Carr --- structs.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index ecbed45..552159b 100644 --- a/structs.go +++ b/structs.go @@ -2,22 +2,23 @@ package main import ( - "go.wit.com/gui/gui" + "go.wit.com/gui" "go.wit.com/lib/gadgets" "go.wit.com/lib/gui/repostatus" ) // the main window nodes -var myGui *gui.Node var reposwin *gadgets.BasicWindow var reposbox *gui.Node var reposgrid *gui.Node var reposgroup *gui.Node -var me repoType +var me *repoType type repoType struct { - script [][]string + script [][]string + allrepos map[*repo]string + myGui *gui.Node // #### autotypist window autotypistWindow *gadgets.BasicWindow @@ -36,6 +37,8 @@ type repoType struct { develBranch *gadgets.BasicCombobox userBranch *gadgets.BasicCombobox + // this button will regenerate everyones go.mod & go.sum + rerunGoMod *gui.Node // #### autotypist Global Distructive & Reset Options // #### autotypist window end } @@ -44,8 +47,6 @@ var cmds *gui.Node var doit *gui.Node var dryrun *gui.Node -var allrepos []*repo - type repo struct { hidden bool path string -- cgit v1.2.3