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 package main
import ( import (
"github.com/andlabs/ui" "go.wit.com/dev/andlabs/ui"
_ "github.com/andlabs/ui/winmanifest" _ "go.wit.com/dev/andlabs/ui/winmanifest"
) )
var mainwin *ui.Window 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 // TODO probably a bug in libui: changing the font away from skia leads to a crash
import ( import (
"github.com/andlabs/ui" "go.wit.com/dev/andlabs/ui"
_ "github.com/andlabs/ui/winmanifest" _ "go.wit.com/dev/andlabs/ui/winmanifest"
) )
var ( var (

View File

@ -8,8 +8,8 @@ import (
"math/rand" "math/rand"
"time" "time"
"github.com/andlabs/ui" "go.wit.com/dev/andlabs/ui"
_ "github.com/andlabs/ui/winmanifest" _ "go.wit.com/dev/andlabs/ui/winmanifest"
) )
var ( var (

View File

@ -15,8 +15,8 @@ import (
"image/draw" "image/draw"
"bytes" "bytes"
"github.com/andlabs/ui" "go.wit.com/dev/andlabs/ui"
_ "github.com/andlabs/ui/winmanifest" _ "go.wit.com/dev/andlabs/ui/winmanifest"
) )
type modelHandler struct { type modelHandler struct {

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/andlabs/ui" "go.wit.com/dev/andlabs/ui"
) )
// Example showing how to update the UI using the QueueMain function // 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