From b8cca8ce638d8c13585d8c2bbe9a96ffbcec2983 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 18 Jan 2024 19:08:33 -0600 Subject: [PATCH] fix paths Signed-off-by: Jeff Carr --- Makefile | 1 + go.mod | 16 ++++++++++++++++ go.sum | 14 ++++++++++++++ main.go | 6 +++--- 4 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 go.mod create mode 100644 go.sum diff --git a/Makefile b/Makefile index c440f35..d230812 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ push: redomod: rm -f go.* + goimports -w *.go GO111MODULE= go mod init GO111MODULE= go mod tidy diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..f8df24e --- /dev/null +++ b/go.mod @@ -0,0 +1,16 @@ +module go.wit.com/apps/basicwindow + +go 1.21.4 + +require ( + go.wit.com/gui v0.12.16 + go.wit.com/lib/gadgets v0.12.10 + go.wit.com/log v0.5.5 +) + +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/widget v1.1.5 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..7aaa747 --- /dev/null +++ b/go.sum @@ -0,0 +1,14 @@ +go.wit.com/dev/alexflint/arg v1.4.5 h1:asDx5f9IlfpknKjPBqqb2qndE91Pbo7ZDkWUgddfMhY= +go.wit.com/dev/alexflint/arg v1.4.5/go.mod h1:wnWc+c6z8kSdDKYriMf6RpM+FiXmo5RYp/t4FNi0MU0= +go.wit.com/dev/alexflint/scalar v1.2.1 h1:loXOcbVnd+8YeJRLey+XXidecBiedMDO00zQ26TvKNs= +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.12.16 h1:GBiPiDyzkGCxwNegehHiONmNppaqyFZv7iteLUHJ/Po= +go.wit.com/gui v0.12.16/go.mod h1:27+THr2a84GZ61KKUuN30WYnYoSsBewllUKc+fnWLto= +go.wit.com/lib/gadgets v0.12.10 h1:zYKQurwuwACir6wTmiYgUprh3AvEX/b7SmEEweLaWOY= +go.wit.com/lib/gadgets v0.12.10/go.mod h1:Hb/vSiW22hPJjTVA1mShQ6HuqQ7dHGB95WLEfZlPO3M= +go.wit.com/log v0.5.5 h1:bK3b94uVKgev4jB5wg06FnvCFBEapQICTSH2YW+CWr4= +go.wit.com/log v0.5.5/go.mod h1:BaJBfHFqcJSJLXGQ9RHi3XVhPgsStxSMZRlaRxW4kAo= +go.wit.com/widget v1.1.5 h1:jx5hJ2WLZJnCcvMuaLHegzpNlzwo+0kOkzsRkzRiB30= +go.wit.com/widget v1.1.5/go.mod h1:I8tnD3x3ECbB/CRNnLCdC+uoyk7rK0AEkzK1bQYSqoQ= diff --git a/main.go b/main.go index 7e85f49..4ff2388 100644 --- a/main.go +++ b/main.go @@ -1,10 +1,10 @@ // This creates a simple hello world window package main -import ( +import ( + "go.wit.com/gui" + "go.wit.com/lib/gadgets" "go.wit.com/log" - "go.wit.com/gui/gui" - "go.wit.com/gui/gadgets" ) var myGui *gui.Node // This is the beginning of the binary tree of widgets