From 94cc37880761d8e917a8de98522598b83f0f9f8f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 18 Jan 2024 19:10:31 -0600 Subject: [PATCH] fix paths --- Makefile | 1 + go.mod | 15 +++++++++++++++ go.sum | 12 ++++++++++++ main.go | 4 ++-- 4 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 go.mod create mode 100644 go.sum diff --git a/Makefile b/Makefile index fa93380..879facc 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,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..adfed80 --- /dev/null +++ b/go.mod @@ -0,0 +1,15 @@ +module go.wit.com/apps/helloworld + +go 1.21.4 + +require ( + go.wit.com/gui v0.12.16 + 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..4032d42 --- /dev/null +++ b/go.sum @@ -0,0 +1,12 @@ +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/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 110b837..c35c829 100644 --- a/main.go +++ b/main.go @@ -1,9 +1,9 @@ // This creates a simple hello world window package main -import ( +import ( + "go.wit.com/gui" "go.wit.com/log" - "go.wit.com/gui/gui" ) var myGui *gui.Node // This is the beginning of the binary tree of widgets