summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxegineering <me@xegineering.eu>2024-10-31 22:10:36 +0100
committerxegineering <me@xegineering.eu>2024-10-31 22:10:36 +0100
commit79eeb90079e417f0a9d040c1de8f3278c628810f (patch)
tree0745023fcbeb97faedefa216394fc228bbcf9443
parentcbcebb47e515f900f2505098f0ce87697e2fe283 (diff)
downloadsoundbox-go-79eeb90079e417f0a9d040c1de8f3278c628810f.tar
soundbox-go-79eeb90079e417f0a9d040c1de8f3278c628810f.tar.zst
soundbox-go-79eeb90079e417f0a9d040c1de8f3278c628810f.zip
Change module name and restructure contentv0.1.2
The repository names for soundbox are named as below: - app: soundbox-app - Go library module: soundbox-go - Device: soundbox The Go module names were: - app: xengineering.eu/soundbox/app - Go library module: xengineering.eu/soundbox This does not make clear which module is related to which repository since the names are different. Thus it should be changed to: - app: xengineering.eu/soundbox-app - Go library module: xengineering.eu/soundbox-go The import statement for the library is then: import "xengineering.eu/soundbox-go/soundbox" This is a bit longer but it keeps the property that the library is referenced inside the code by the simple name `soundbox`.
-rwxr-xr-xcheck.py2
-rw-r--r--go.mod2
-rw-r--r--go.sum0
-rw-r--r--soundbox/interfaces.go (renamed from interfaces.go)0
-rw-r--r--soundbox/ipv6.go (renamed from ipv6.go)0
-rw-r--r--soundbox/ipv6_test.go (renamed from ipv6_test.go)0
-rw-r--r--soundbox/stream.go (renamed from stream.go)0
-rw-r--r--soundbox/stream_test.go (renamed from stream_test.go)2
8 files changed, 3 insertions, 3 deletions
diff --git a/check.py b/check.py
index bec3fb4..a5f3841 100755
--- a/check.py
+++ b/check.py
@@ -7,7 +7,7 @@ import pathlib
def main() -> None:
subprocess.run(
- ["go", "test", "-v"],
+ ["go", "test", "-v", "./..."],
check=True,
cwd=pathlib.Path(__file__).resolve().parent,
)
diff --git a/go.mod b/go.mod
index a58af87..934ac7c 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,3 @@
-module xengineering.eu/soundbox
+module xengineering.eu/soundbox-go
go 1.23.1
diff --git a/go.sum b/go.sum
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/go.sum
diff --git a/interfaces.go b/soundbox/interfaces.go
index 2854b1a..2854b1a 100644
--- a/interfaces.go
+++ b/soundbox/interfaces.go
diff --git a/ipv6.go b/soundbox/ipv6.go
index 355e233..355e233 100644
--- a/ipv6.go
+++ b/soundbox/ipv6.go
diff --git a/ipv6_test.go b/soundbox/ipv6_test.go
index 93ac489..93ac489 100644
--- a/ipv6_test.go
+++ b/soundbox/ipv6_test.go
diff --git a/stream.go b/soundbox/stream.go
index cc8fcea..cc8fcea 100644
--- a/stream.go
+++ b/soundbox/stream.go
diff --git a/stream_test.go b/soundbox/stream_test.go
index 78b2f27..41907ad 100644
--- a/stream_test.go
+++ b/soundbox/stream_test.go
@@ -6,7 +6,7 @@ import (
"net"
"time"
- "xengineering.eu/soundbox"
+ "xengineering.eu/soundbox-go/soundbox"
)
func ExampleStreamURLContext() {