clean gomod

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-14 20:12:25 -06:00
parent 70a69d6ae3
commit 1db4ed9a30
7 changed files with 19 additions and 9 deletions

7
Makefile Normal file
View File

@ -0,0 +1,7 @@
all:
redomod:
rm -f go.*
GO111MODULE= go mod init
GO111MODULE= go mod tidy

View File

@ -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

View File

@ -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 (

View File

@ -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 (

View File

@ -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 {

View File

@ -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

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module go.wit.com/dev/andlabs/ui
go 1.21.4