From db183cf7570e0f4e448ab5ced0ae41969261a815 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Mon, 8 Jan 2024 21:43:17 -0330 Subject: rename module --- compressor/compressor.go | 4 ++-- go.mod | 2 +- main.go | 12 ++++++------ ui.go | 12 ++++++------ util/util.go | 6 +++--- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/compressor/compressor.go b/compressor/compressor.go index 5d73fdc..9983ecb 100644 --- a/compressor/compressor.go +++ b/compressor/compressor.go @@ -6,8 +6,8 @@ import ( fp "path/filepath" "strings" - "github.com/sam-anthony/volute/mass" - "github.com/sam-anthony/volute/util" + "volute/mass" + "volute/util" ) const root = "compressor_maps/" diff --git a/go.mod b/go.mod index ca90545..3eb3590 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/sam-anthony/volute +module volute go 1.18 diff --git a/main.go b/main.go index 59801cc..491aa80 100644 --- a/main.go +++ b/main.go @@ -8,12 +8,12 @@ import ( _ "image/jpeg" "os" - "github.com/sam-anthony/volute/compressor" - "github.com/sam-anthony/volute/mass" - "github.com/sam-anthony/volute/pressure" - "github.com/sam-anthony/volute/temperature" - "github.com/sam-anthony/volute/util" - "github.com/sam-anthony/volute/volume" + "volute/compressor" + "volute/mass" + "volute/pressure" + "volute/temperature" + "volute/util" + "volute/volume" ) const ( diff --git a/ui.go b/ui.go index 67201c0..118069d 100644 --- a/ui.go +++ b/ui.go @@ -8,12 +8,12 @@ import ( "image/draw" "strconv" - "github.com/sam-anthony/volute/compressor" - "github.com/sam-anthony/volute/mass" - "github.com/sam-anthony/volute/pressure" - "github.com/sam-anthony/volute/temperature" - "github.com/sam-anthony/volute/util" - "github.com/sam-anthony/volute/volume" + "volute/compressor" + "volute/mass" + "volute/pressure" + "volute/temperature" + "volute/util" + "volute/volume" ) func red() color.RGBA { diff --git a/util/util.go b/util/util.go index 5812ee1..b0eae51 100644 --- a/util/util.go +++ b/util/util.go @@ -4,9 +4,9 @@ import ( "fmt" "os" - "github.com/sam-anthony/volute/mass" - "github.com/sam-anthony/volute/pressure" - "github.com/sam-anthony/volute/temperature" + "volute/mass" + "volute/pressure" + "volute/temperature" ) func Check(err error) { -- cgit v1.2.3