From cc7a1b0bdc69335132a022111c759931db6d1566 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 28 Nov 2024 18:36:00 -0600 Subject: compiles. kinda runs --- testGui/main.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'testGui') 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 -- cgit v1.2.3