diff --git a/Dockerfile b/Dockerfile index c4f2bc4..6a65c20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN go mod download RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \ go build \ -trimpath \ - -ldflags="-w -s -X ely.by/sessionserver/internal/version.version=$VERSION -X ely.by/sessionserver/internal/version.commit=$COMMIT" \ + -ldflags="-w -s -X ely.by/accounts-profiles-endpoint/internal/version.version=$VERSION -X ely.by/accounts-profiles-endpoint/internal/version.commit=$COMMIT" \ -o app \ main.go diff --git a/go.mod b/go.mod index c377c1f..6e303ea 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module ely.by/sessionserver +module ely.by/accounts-profiles-endpoint go 1.23.0 diff --git a/internal/cmd/serve.go b/internal/cmd/serve.go index afa5d6c..2400c55 100644 --- a/internal/cmd/serve.go +++ b/internal/cmd/serve.go @@ -12,11 +12,11 @@ import ( "github.com/gin-gonic/gin" "go.uber.org/multierr" - db "ely.by/sessionserver/internal/db/mysql" - "ely.by/sessionserver/internal/http" - "ely.by/sessionserver/internal/logging/sentry" - "ely.by/sessionserver/internal/services/chrly" - "ely.by/sessionserver/internal/services/signer" + db "ely.by/accounts-profiles-endpoint/internal/db/mysql" + "ely.by/accounts-profiles-endpoint/internal/http" + "ely.by/accounts-profiles-endpoint/internal/logging/sentry" + "ely.by/accounts-profiles-endpoint/internal/services/chrly" + "ely.by/accounts-profiles-endpoint/internal/services/signer" ) func Serve() error { diff --git a/internal/logging/sentry/sentry.go b/internal/logging/sentry/sentry.go index b98b009..d68c3bc 100644 --- a/internal/logging/sentry/sentry.go +++ b/internal/logging/sentry/sentry.go @@ -6,7 +6,7 @@ import ( "github.com/gin-gonic/gin" "github.com/spf13/viper" - "ely.by/sessionserver/internal/version" + "ely.by/accounts-profiles-endpoint/internal/version" ) func InitWithConfig(config *viper.Viper) error { diff --git a/main.go b/main.go index 798abab..a14a744 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "ely.by/sessionserver/internal/cmd" + "ely.by/accounts-profiles-endpoint/internal/cmd" ) func main() {