summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-18 05:03:04 -0600
committerJeff Carr <[email protected]>2024-01-18 05:03:04 -0600
commit7dd4dd08084bad7a206a0e14e22a13af0b69e83b (patch)
tree36a4285bfed53878b2cc7edef95809bc22fcf520 /structs.go
parent766ce60bc36a587daabced61c104a4ab8a5c5924 (diff)
try auto go mod tidy
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go13
1 files changed, 7 insertions, 6 deletions
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