summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
-rw-r--r--examples/controlgallery.go4
-rw-r--r--examples/drawtext.go4
-rw-r--r--examples/histogram.go4
-rw-r--r--examples/table.go4
-rw-r--r--examples/updateui.go2
-rw-r--r--go.mod3
7 files changed, 19 insertions, 9 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f778d74
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,7 @@
+all:
+
+redomod:
+ rm -f go.*
+ GO111MODULE= go mod init
+ GO111MODULE= go mod tidy
+
diff --git a/examples/controlgallery.go b/examples/controlgallery.go
index e2d2dc2..d09ff90 100644
--- a/examples/controlgallery.go
+++ b/examples/controlgallery.go
@@ -5,8 +5,8 @@
package main
import (
- "github.com/andlabs/ui"
- _ "github.com/andlabs/ui/winmanifest"
+ "go.wit.com/dev/andlabs/ui"
+ _ "go.wit.com/dev/andlabs/ui/winmanifest"
)
var mainwin *ui.Window
diff --git a/examples/drawtext.go b/examples/drawtext.go
index 0aaeb7d..5d203ba 100644
--- a/examples/drawtext.go
+++ b/examples/drawtext.go
@@ -7,8 +7,8 @@ package main
// TODO probably a bug in libui: changing the font away from skia leads to a crash
import (
- "github.com/andlabs/ui"
- _ "github.com/andlabs/ui/winmanifest"
+ "go.wit.com/dev/andlabs/ui"
+ _ "go.wit.com/dev/andlabs/ui/winmanifest"
)
var (
diff --git a/examples/histogram.go b/examples/histogram.go
index 55a9f59..baabf34 100644
--- a/examples/histogram.go
+++ b/examples/histogram.go
@@ -8,8 +8,8 @@ import (
"math/rand"
"time"
- "github.com/andlabs/ui"
- _ "github.com/andlabs/ui/winmanifest"
+ "go.wit.com/dev/andlabs/ui"
+ _ "go.wit.com/dev/andlabs/ui/winmanifest"
)
var (
diff --git a/examples/table.go b/examples/table.go
index 1d11f8d..5730e93 100644
--- a/examples/table.go
+++ b/examples/table.go
@@ -15,8 +15,8 @@ import (
"image/draw"
"bytes"
- "github.com/andlabs/ui"
- _ "github.com/andlabs/ui/winmanifest"
+ "go.wit.com/dev/andlabs/ui"
+ _ "go.wit.com/dev/andlabs/ui/winmanifest"
)
type modelHandler struct {
diff --git a/examples/updateui.go b/examples/updateui.go
index 48aadfd..6c9b828 100644
--- a/examples/updateui.go
+++ b/examples/updateui.go
@@ -4,7 +4,7 @@ import (
"fmt"
"time"
- "github.com/andlabs/ui"
+ "go.wit.com/dev/andlabs/ui"
)
// Example showing how to update the UI using the QueueMain function
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..a4f9d95
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,3 @@
+module go.wit.com/dev/andlabs/ui
+
+go 1.21.4