new gui & release managment
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
e4672283ce
commit
d8555dc86f
14
go.mod
14
go.mod
|
@ -4,10 +4,9 @@ go 1.21.4
|
|||
|
||||
require (
|
||||
github.com/alexflint/go-arg v1.4.3
|
||||
go.wit.com/gui v0.13.11
|
||||
go.wit.com/lib/debugger v0.13.0
|
||||
go.wit.com/lib/gui/cloudflare v0.13.0
|
||||
go.wit.com/log v0.5.6
|
||||
go.wit.com/gui v0.13.18
|
||||
go.wit.com/lib/debugger v0.13.18
|
||||
go.wit.com/lib/gui/cloudflare v0.13.18
|
||||
)
|
||||
|
||||
require (
|
||||
|
@ -15,7 +14,8 @@ require (
|
|||
go.wit.com/dev/alexflint/arg v1.4.5 // indirect
|
||||
go.wit.com/dev/alexflint/scalar v1.2.1 // indirect
|
||||
go.wit.com/dev/davecgh/spew v1.1.4 // indirect
|
||||
go.wit.com/lib/gadgets v0.13.0 // indirect
|
||||
go.wit.com/lib/gui/logsettings v0.13.0 // indirect
|
||||
go.wit.com/widget v1.1.6 // indirect
|
||||
go.wit.com/lib/gadgets v0.13.18 // indirect
|
||||
go.wit.com/lib/gui/logsettings v0.13.18 // indirect
|
||||
go.wit.com/log v0.13.18 // indirect
|
||||
go.wit.com/widget v1.1.9 // indirect
|
||||
)
|
||||
|
|
28
go.sum
28
go.sum
|
@ -17,20 +17,20 @@ go.wit.com/dev/alexflint/scalar v1.2.1 h1:loXOcbVnd+8YeJRLey+XXidecBiedMDO00zQ26
|
|||
go.wit.com/dev/alexflint/scalar v1.2.1/go.mod h1:+rYsfxqdI2cwA8kJ7GCMwWbNJvfvWUurOCXLiwdTtSs=
|
||||
go.wit.com/dev/davecgh/spew v1.1.4 h1:C9hj/rjlUpdK+E6aroyLjCbS5MFcyNUOuP1ICLWdNek=
|
||||
go.wit.com/dev/davecgh/spew v1.1.4/go.mod h1:sihvWmnQ/09FWplnEmozt90CCVqBtGuPXM811tgfhFA=
|
||||
go.wit.com/gui v0.13.11 h1:d74Ko/XFZYR25P/AZfCQaVO2CuGh1BSjdUp1wjktdDg=
|
||||
go.wit.com/gui v0.13.11/go.mod h1:v2VgnOL3dlZ13KclYeedZ1cd20nQdvwjyJTNKvFX3DA=
|
||||
go.wit.com/lib/debugger v0.13.0 h1:k5XCa7BZFYA37rFf20iTAm5L4Ch+3eRuxCbHIhorYZI=
|
||||
go.wit.com/lib/debugger v0.13.0/go.mod h1:b3gykobdR+lcMjWAHJUa3GRsMYbnaHNwA/upfjpSA28=
|
||||
go.wit.com/lib/gadgets v0.13.0 h1:jtsEnf4DHqAxBxuYsaDlHti73rgaxYf/ffAXNB1PJAk=
|
||||
go.wit.com/lib/gadgets v0.13.0/go.mod h1:xidaHAL6Nk9+M9FkySVU1AG5i39v7T3PuFphUos6LxE=
|
||||
go.wit.com/lib/gui/cloudflare v0.13.0 h1:c+d4mspBsXxcX12XjayK5WRSfuYfNcVEXVmvI2WwqFE=
|
||||
go.wit.com/lib/gui/cloudflare v0.13.0/go.mod h1:KuLdO4fYGOFI0vaWMP5BrLeO+5J5xrRk18H/85C4lpg=
|
||||
go.wit.com/lib/gui/logsettings v0.13.0 h1:iphACMcfdc5GoCcxZkShcWn9A/SwvnPmLXCSYSL+eJU=
|
||||
go.wit.com/lib/gui/logsettings v0.13.0/go.mod h1:h+skqrtQ3muJ1TzMQ7M568xAwqT7nZCGS32c5jYCrqc=
|
||||
go.wit.com/log v0.5.6 h1:rDC3ju95zfEads4f1Zm+QMkqjZ39CsYAT/UmQQs7VP4=
|
||||
go.wit.com/log v0.5.6/go.mod h1:BaJBfHFqcJSJLXGQ9RHi3XVhPgsStxSMZRlaRxW4kAo=
|
||||
go.wit.com/widget v1.1.6 h1:av2miF5vlohMfARA/QGPTPfgW/ADup1c+oeAOKgroPY=
|
||||
go.wit.com/widget v1.1.6/go.mod h1:I8tnD3x3ECbB/CRNnLCdC+uoyk7rK0AEkzK1bQYSqoQ=
|
||||
go.wit.com/gui v0.13.18 h1:r4z1FNg6AxGWfq13+na4Xu/uA8PTTtDGka0ajo29omk=
|
||||
go.wit.com/gui v0.13.18/go.mod h1:SRcfZKSbBWUxyyDiqlISWEYySoeATnijVxhzRIF0xiE=
|
||||
go.wit.com/lib/debugger v0.13.18 h1:uPVehvDSNnvY5tDyIt2kbHtjFsV5Lz9witNCpTxgUc8=
|
||||
go.wit.com/lib/debugger v0.13.18/go.mod h1:3DXsRIR7egiuBB9iP2o8k0nNuPOHE/AHjj7sWu40lSI=
|
||||
go.wit.com/lib/gadgets v0.13.18 h1:Z35WCI6BtRamRkLTWaUP5/9+BnOGGbRdnD95SnnM6Tw=
|
||||
go.wit.com/lib/gadgets v0.13.18/go.mod h1:hU0cXWfyvBrxmKD37MLyjOfJRK4+cU1aJ6lLx1CM0Qo=
|
||||
go.wit.com/lib/gui/cloudflare v0.13.18 h1:T+8w7OC6bB8pHAM3Q6ZfFqdOUBwp1aDtfvGzl6mJOHA=
|
||||
go.wit.com/lib/gui/cloudflare v0.13.18/go.mod h1:oozG1TkoKRTcZS6VApkvE1S+ZQytENo09ZCbpglYLuw=
|
||||
go.wit.com/lib/gui/logsettings v0.13.18 h1:NbhoM0h6dTMRarkWj8BSqnBGi5oAf92FkvE1NA7SpAI=
|
||||
go.wit.com/lib/gui/logsettings v0.13.18/go.mod h1:mBQmNFKoeenjoYH2l1+2Wdk/I0urSD7CKTHT5qMCogE=
|
||||
go.wit.com/log v0.13.18 h1:XJNaQWX+8m12p3mH+kYih3zNjb0kScZDFpJa4c2TvKE=
|
||||
go.wit.com/log v0.13.18/go.mod h1:BaJBfHFqcJSJLXGQ9RHi3XVhPgsStxSMZRlaRxW4kAo=
|
||||
go.wit.com/widget v1.1.9 h1:iltjAL8UZu0YPfia8/qyfDx04BDxhj8rURcx0OHVBEc=
|
||||
go.wit.com/widget v1.1.9/go.mod h1:I8tnD3x3ECbB/CRNnLCdC+uoyk7rK0AEkzK1bQYSqoQ=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
|
||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
|
|
6
main.go
6
main.go
|
@ -1,7 +1,6 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"go.wit.com/log"
|
||||
"go.wit.com/gui"
|
||||
"go.wit.com/lib/debugger"
|
||||
"go.wit.com/lib/gui/cloudflare"
|
||||
|
@ -15,21 +14,20 @@ var myGui *gui.Node
|
|||
|
||||
func main() {
|
||||
// send all log() output to a file in /tmp
|
||||
log.SetTmp()
|
||||
// log.SetTmp()
|
||||
|
||||
// parse the config file
|
||||
readConfig()
|
||||
|
||||
// initialize a new GO GUI instance
|
||||
myGui = gui.New()
|
||||
myGui.LoadToolkit("andlabs")
|
||||
myGui.Default()
|
||||
|
||||
|
||||
// draw the cloudflare control panel window
|
||||
win := cloudflare.MakeCloudflareWindow(myGui)
|
||||
win.SetTitle(title)
|
||||
win.Show()
|
||||
win.Draw()
|
||||
|
||||
// This is just a optional goroutine to watch that things are alive
|
||||
gui.Watchdog()
|
||||
|
|
Loading…
Reference in New Issue