summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-13 19:30:12 -0600
committerJeff Carr <[email protected]>2024-12-13 19:30:12 -0600
commitd1708d6a4bea44c9935e0b26e7d3e3a209c3b4b1 (patch)
tree0313556372809a2c8c3ccd62bd122864946e6182 /structs.go
parent6f39827fb9f4b3ea2483998f20ac434d2bd721d9 (diff)
logic is betterv0.22.35
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 6cc8b4e..54ae116 100644
--- a/structs.go
+++ b/structs.go
@@ -6,6 +6,7 @@ import (
"go.wit.com/lib/gadgets"
"go.wit.com/lib/gui/repolist"
"go.wit.com/lib/protobuf/forgepb"
+ "go.wit.com/lib/protobuf/gitpb"
)
var me *autoType
@@ -20,6 +21,11 @@ type autoType struct {
reposgroup *gui.Node
current *repolist.RepoRow
+ // this is the repo we are starting in
+ // make sure it never changes so go.mod and go.sum are always there
+ // 'go get' is called from here
+ startRepo *gitpb.Repo
+
// guireleaser window
mainWindow *gui.Node
mainBox *gui.Node