From 08c7765cc70bae20479ad0aa1897b6a4cfc3613a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 18 Feb 2024 15:09:04 -0600 Subject: guireleaser builds again --- structs.go | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'structs.go') 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 } +*/ -- cgit v1.2.3