Changed module name.

This commit is contained in:
Andrey Egorov 2024-07-22 18:53:34 +03:00
parent 05fd6a213c
commit 38a47bfb20
4 changed files with 6 additions and 4 deletions

View File

@ -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"]

View File

@ -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 {

2
go.mod
View File

@ -1,4 +1,4 @@
module annalist
module github.com/CGSG-2021-AE4/modem-test
go 1.22.5

View File

@ -1,8 +1,9 @@
package main
import (
"annalist/api/modem"
"log"
"github.com/CGSG-2021-AE4/modem-test/api/modem"
)
func main() {