summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go17
1 files changed, 12 insertions, 5 deletions
diff --git a/structs.go b/structs.go
index f04acd6..d951e78 100644
--- a/structs.go
+++ b/structs.go
@@ -4,11 +4,10 @@ package main
import (
"go.wit.com/gui"
"go.wit.com/lib/gadgets"
- "go.wit.com/lib/gui/repostatus"
)
// the main window nodes
-var reposwin *gadgets.BasicWindow
+// var reposwin *gadgets.BasicWindow
var reposbox *gui.Node
var reposgrid *gui.Node
var reposgroup *gui.Node
@@ -16,15 +15,17 @@ var reposgroup *gui.Node
var me *autoType
type autoType struct {
- allrepos map[string]*repo
- myGui *gui.Node
+ myGui *gui.Node
releaseReasonS string // = "gocui dropdown select"
- // autotypistWindow *gadgets.BasicWindow
+ // guireleaser window
mainWindow *gui.Node
mainBox *gui.Node
+ // our view of the repositories
+ repos *repoWindow
+
// #### autotypist Global Display Options
autoHidePerfect *gui.Node
autoHideReadOnly *gui.Node
@@ -77,12 +78,17 @@ type autoType struct {
setBranchesToMasterB *gui.Node
}
+func (my *autoType) GoSrcPath() string {
+ return my.goSrcPwd.String()
+}
+
/*
var cmds *gui.Node
var doit *gui.Node
var dryrun *gui.Node
*/
+/*
type repo struct {
hidden bool
path string
@@ -104,3 +110,4 @@ type repo struct {
status *repostatus.RepoStatus
}
+*/