aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-01-08 21:43:17 -0330
committerSam Anthony <sam@samanthony.xyz>2024-01-08 21:43:17 -0330
commitdb183cf7570e0f4e448ab5ced0ae41969261a815 (patch)
treebd66dd83c5ddeae358dee9e36fd1fec1452285a7
parent831b77cbd5137355bf98844fec12519ba18ecd3f (diff)
downloadvolute-db183cf7570e0f4e448ab5ced0ae41969261a815.zip
rename module
-rw-r--r--compressor/compressor.go4
-rw-r--r--go.mod2
-rw-r--r--main.go12
-rw-r--r--ui.go12
-rw-r--r--util/util.go6
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) {