summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-02 06:59:56 -0600
committerJeff Carr <[email protected]>2024-12-02 06:59:56 -0600
commit3895519f25a603b6b75b54c0d9ad57b7128045ac (patch)
tree0a0477f48af81bc54f804407b2925589e3303c1e /structs.go
parent8afc4c713576b3509e15942dfd3dae5e8b8b8906 (diff)
start developing this for real
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/structs.go b/structs.go
index 56391fb..89402c9 100644
--- a/structs.go
+++ b/structs.go
@@ -1,8 +1,10 @@
package main
import (
+ "go.wit.com/dev/alexflint/arg"
"go.wit.com/gui"
"go.wit.com/lib/gadgets"
+ "go.wit.com/lib/protobuf/forgepb"
)
var me *mainType
@@ -17,8 +19,13 @@ func (b *mainType) Enable() {
// this app's variables
type mainType struct {
+ pp *arg.Parser
+ forge *forgepb.Forge
myGui *gui.Node
+ // our view of the repositories
+ repos *repoWindow
+
mainWindow *gadgets.BasicWindow
// the main box. enable/disable this
@@ -27,9 +34,6 @@ type mainType struct {
// the window from the /lib/gui/gowit package
lw *gadgets.BasicWindow
- // our view of the repositories
- repos *repoWindow
-
// #### Sorting options for the repolist
autoHidePerfect *gui.Node
autoHideReadOnly *gui.Node