diff --git a/Dockerfile b/Dockerfile index 2bf5ef1..1ca49aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,6 @@ COPY go.mod go.sum ./ RUN go mod download COPY *.go ./ -RUN CGO_ENABLED=0 GOOS=linux go build -o /modem-test main.go +RUN CGO_ENABLED=0 GOOS=linux go build -o /modem-test CMD ["/modem-test"] \ No newline at end of file diff --git a/api/modem/modem.go b/api/modem/modem.go index 9139603..a595817 100644 --- a/api/modem/modem.go +++ b/api/modem/modem.go @@ -1,7 +1,6 @@ package modem import ( - "annalist/api/modem/at" "encoding/json" "errors" "fmt" @@ -13,6 +12,8 @@ import ( "strconv" "strings" "time" + + "github.com/CGSG-2021-AE4/modem-test/api/modem/at" ) type GpsInfo struct { diff --git a/go.mod b/go.mod index da33ec1..277e637 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module annalist +module github.com/CGSG-2021-AE4/modem-test go 1.22.5 diff --git a/main.go b/main.go index 61f6e53..d8c597b 100644 --- a/main.go +++ b/main.go @@ -1,8 +1,9 @@ package main import ( - "annalist/api/modem" "log" + + "github.com/CGSG-2021-AE4/modem-test/api/modem" ) func main() {