summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-18 19:08:33 -0600
committerJeff Carr <[email protected]>2024-01-18 19:08:33 -0600
commitb8cca8ce638d8c13585d8c2bbe9a96ffbcec2983 (patch)
tree1ce19d9b19eeb1073fb96f5e51f06c4ddef6796e
parent4f59e4bb8d7829f81faeda5a3455f88e9335cce1 (diff)
fix paths
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--Makefile1
-rw-r--r--go.mod16
-rw-r--r--go.sum14
-rw-r--r--main.go6
4 files changed, 34 insertions, 3 deletions
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