From 1db4ed9a301500e3b5f5ed3a150fc33a3107fd50 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 14 Jan 2024 20:12:25 -0600 Subject: [PATCH] clean gomod Signed-off-by: Jeff Carr --- Makefile | 7 +++++++ examples/controlgallery.go | 4 ++-- examples/drawtext.go | 4 ++-- examples/histogram.go | 4 ++-- examples/table.go | 4 ++-- examples/updateui.go | 2 +- go.mod | 3 +++ 7 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 Makefile create mode 100644 go.mod 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