Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-25 01:38:17 -06:00
parent d0e1ab2f8e
commit 9bdc3fcd03
7 changed files with 6 additions and 13 deletions

View File

@ -17,7 +17,6 @@ new-build:
# go mod edit -replace go.wit.com/wit/gui=/home/jcarr/go/src/git.wit.org/wit/gui # go mod edit -replace go.wit.com/wit/gui=/home/jcarr/go/src/git.wit.org/wit/gui
# go mod edit -replace go.wit.com/wit/shell=/home/jcarr/go/src/git.wit.org/wit/shell # go mod edit -replace go.wit.com/wit/shell=/home/jcarr/go/src/git.wit.org/wit/shell
# to update go.mod to master: # to update go.mod to master:
# go get go.wit.com/gui/gui@master
go install -ldflags " \ go install -ldflags " \
-X main.GITCOMMIT=${GITCOMMIT} \ -X main.GITCOMMIT=${GITCOMMIT} \
-X main.GOVERSION='${GOVERSION}' \ -X main.GOVERSION='${GOVERSION}' \

4
go.mod
View File

@ -7,7 +7,7 @@ require (
github.com/getlantern/systray v1.2.2 github.com/getlantern/systray v1.2.2
github.com/gobuffalo/packr v1.30.1 github.com/gobuffalo/packr v1.30.1
go.wit.com/gui v0.13.11 go.wit.com/gui v0.13.11
go.wit.com/lib/debugger v0.12.7 go.wit.com/lib/debugger v0.13.0
go.wit.com/lib/gadgets v0.13.0 go.wit.com/lib/gadgets v0.13.0
go.wit.com/log v0.5.6 go.wit.com/log v0.5.6
) )
@ -28,7 +28,7 @@ require (
go.wit.com/dev/alexflint/arg v1.4.5 // indirect go.wit.com/dev/alexflint/arg v1.4.5 // indirect
go.wit.com/dev/alexflint/scalar v1.2.1 // indirect go.wit.com/dev/alexflint/scalar v1.2.1 // indirect
go.wit.com/dev/davecgh/spew v1.1.4 // indirect go.wit.com/dev/davecgh/spew v1.1.4 // indirect
go.wit.com/lib/gui/logsettings v0.10.2 // indirect go.wit.com/lib/gui/logsettings v0.13.0 // indirect
go.wit.com/widget v1.1.6 // indirect go.wit.com/widget v1.1.6 // indirect
golang.org/x/sys v0.1.0 // indirect golang.org/x/sys v0.1.0 // indirect
) )

8
go.sum
View File

@ -79,12 +79,12 @@ go.wit.com/dev/davecgh/spew v1.1.4 h1:C9hj/rjlUpdK+E6aroyLjCbS5MFcyNUOuP1ICLWdNe
go.wit.com/dev/davecgh/spew v1.1.4/go.mod h1:sihvWmnQ/09FWplnEmozt90CCVqBtGuPXM811tgfhFA= 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 h1:d74Ko/XFZYR25P/AZfCQaVO2CuGh1BSjdUp1wjktdDg=
go.wit.com/gui v0.13.11/go.mod h1:v2VgnOL3dlZ13KclYeedZ1cd20nQdvwjyJTNKvFX3DA= go.wit.com/gui v0.13.11/go.mod h1:v2VgnOL3dlZ13KclYeedZ1cd20nQdvwjyJTNKvFX3DA=
go.wit.com/lib/debugger v0.12.7 h1:c8ehU7p2asb//K4YgC17XG4o2pPP+IZb9lR2a0nBio8= go.wit.com/lib/debugger v0.13.0 h1:k5XCa7BZFYA37rFf20iTAm5L4Ch+3eRuxCbHIhorYZI=
go.wit.com/lib/debugger v0.12.7/go.mod h1:zcZstsgOcALjCNOiIE+KcKkrIF78ogYjwxmaQlBbmtQ= 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 h1:jtsEnf4DHqAxBxuYsaDlHti73rgaxYf/ffAXNB1PJAk=
go.wit.com/lib/gadgets v0.13.0/go.mod h1:xidaHAL6Nk9+M9FkySVU1AG5i39v7T3PuFphUos6LxE= go.wit.com/lib/gadgets v0.13.0/go.mod h1:xidaHAL6Nk9+M9FkySVU1AG5i39v7T3PuFphUos6LxE=
go.wit.com/lib/gui/logsettings v0.10.2 h1:xRx0AX1V74kC6CIm+ib6C3ziTcbBjR/Ju3rTLEpQMsw= go.wit.com/lib/gui/logsettings v0.13.0 h1:iphACMcfdc5GoCcxZkShcWn9A/SwvnPmLXCSYSL+eJU=
go.wit.com/lib/gui/logsettings v0.10.2/go.mod h1:v5XUQ6WyNyfScR9oOFhdz8p1wtxCpNWXK3DJ/dbLPVo= 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 h1:rDC3ju95zfEads4f1Zm+QMkqjZ39CsYAT/UmQQs7VP4=
go.wit.com/log v0.5.6/go.mod h1:BaJBfHFqcJSJLXGQ9RHi3XVhPgsStxSMZRlaRxW4kAo= 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 h1:av2miF5vlohMfARA/QGPTPfgW/ADup1c+oeAOKgroPY=

1
os.go
View File

@ -9,7 +9,6 @@ import (
"strings" "strings"
"go.wit.com/log" "go.wit.com/log"
// "go.wit.com/gui/gui"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
) )

View File

@ -7,11 +7,9 @@ import (
"os" "os"
"time" "time"
// "go.wit.com/gui/gui"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
"github.com/getlantern/systray" "github.com/getlantern/systray"
"go.wit.com/lib/debugger" "go.wit.com/lib/debugger"
// "github.com/skratchdot/open-golang/open"
) )
func systrayMain() { func systrayMain() {

View File

@ -9,7 +9,6 @@ import (
"log" "log"
"runtime/debug" "runtime/debug"
"time" "time"
// "go.wit.com/gui/gui"
) )
type myChan struct { type myChan struct {

View File

@ -1,14 +1,12 @@
package main package main
import ( import (
// "bufio"
"os" "os"
"runtime" "runtime"
"runtime/debug" "runtime/debug"
"runtime/pprof" "runtime/pprof"
"go.wit.com/log" "go.wit.com/log"
// "go.wit.com/gui/gui"
"go.wit.com/lib/gadgets" "go.wit.com/lib/gadgets"
) )