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 RUN go mod download
COPY *.go ./ 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"] CMD ["/modem-test"]

View File

@ -1,7 +1,6 @@
package modem package modem
import ( import (
"annalist/api/modem/at"
"encoding/json" "encoding/json"
"errors" "errors"
"fmt" "fmt"
@ -13,6 +12,8 @@ import (
"strconv" "strconv"
"strings" "strings"
"time" "time"
"github.com/CGSG-2021-AE4/modem-test/api/modem/at"
) )
type GpsInfo struct { 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 go 1.22.5

View File

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