diff options
author | xegineering <me@xegineering.eu> | 2024-10-31 22:10:36 +0100 |
---|---|---|
committer | xegineering <me@xegineering.eu> | 2024-10-31 22:10:36 +0100 |
commit | 79eeb90079e417f0a9d040c1de8f3278c628810f (patch) | |
tree | 0745023fcbeb97faedefa216394fc228bbcf9443 /go.mod | |
parent | cbcebb47e515f900f2505098f0ce87697e2fe283 (diff) | |
download | soundbox-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`.
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,3 +1,3 @@ -module xengineering.eu/soundbox +module xengineering.eu/soundbox-go go 1.23.1 |