summaryrefslogtreecommitdiff
path: root/testGui/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'testGui/main.go')
-rw-r--r--testGui/main.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/testGui/main.go b/testGui/main.go
index f372bc1..c6880c1 100644
--- a/testGui/main.go
+++ b/testGui/main.go
@@ -8,6 +8,7 @@ import (
"go.wit.com/gui"
"go.wit.com/lib/gui/repolist"
+ "go.wit.com/lib/protobuf/forgepb"
)
// sent via -ldflags
@@ -18,7 +19,13 @@ func main() {
me = new(autoType)
// load the ~/.config/forge/ config
- me.forge.Init()
+ me.forge = forgepb.Init()
+ if me.forge == nil {
+ panic("damn it, forge is nil")
+ }
+ if me.forge.Config == nil {
+ panic("damn it config")
+ }
me.forge.ConfigPrintTable()
// setup the GUI