summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-05 12:59:07 -0600
committerJeff Carr <[email protected]>2024-01-05 12:59:07 -0600
commit84aafa536a93af73c8745289b204b1ed7ae9c699 (patch)
tree3361aa8e9b6b1fe9f5caa27a8c2d2c27e01b678d
parenta1faecec34c7476485cce689397169c7d2b9b621 (diff)
add Makefile and notes
-rw-r--r--Makefile26
-rw-r--r--go.mod3
-rw-r--r--widget.go4
3 files changed, 31 insertions, 2 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..d4f9c27
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,26 @@
+all:
+ @echo
+ @echo This defines the primitive widgets
+ @echo
+ @echo This is how the gui communicates with the toolkit plugin
+ @echo The widgets are things like Windows, Buttons, Labels, etc
+ @echo
+
+redomod:
+ rm -f go.*
+ go mod init
+ go mod tidy
+
+# sync repo to the github backup
+# git remote add github [email protected]:wit-go/gui.git
+github:
+ git push origin master
+ git push origin devel
+ git push origin --tags
+ git push github master
+ git push github devel
+ git push github --tags
+ @echo
+ @echo check https://git.wit.org/gui/widget
+ @echo check https://github.com/wit-go/widget
+ @echo
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..5e211c8
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,3 @@
+module go.wit.com/gui/widget
+
+go 1.21.4
diff --git a/widget.go b/widget.go
index 02dbe3f..935f2aa 100644
--- a/widget.go
+++ b/widget.go
@@ -1,6 +1,6 @@
-package toolkit
+package widget
-// passes information between the toolkit library (plugin)
+// passes information between the gui package and the toolkit plugins
//
// This is the only thing that is passed between the toolkit plugin
//