Rename package

This commit is contained in:
ErickSkrauch 2024-10-01 01:49:23 +02:00
parent 5b9666bc2f
commit 2eda0caf55
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E
5 changed files with 9 additions and 9 deletions

View File

@ -12,7 +12,7 @@ RUN go mod download
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \ RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \
go build \ go build \
-trimpath \ -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 \ -o app \
main.go main.go

2
go.mod
View File

@ -1,4 +1,4 @@
module ely.by/sessionserver module ely.by/accounts-profiles-endpoint
go 1.23.0 go 1.23.0

View File

@ -12,11 +12,11 @@ import (
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"go.uber.org/multierr" "go.uber.org/multierr"
db "ely.by/sessionserver/internal/db/mysql" db "ely.by/accounts-profiles-endpoint/internal/db/mysql"
"ely.by/sessionserver/internal/http" "ely.by/accounts-profiles-endpoint/internal/http"
"ely.by/sessionserver/internal/logging/sentry" "ely.by/accounts-profiles-endpoint/internal/logging/sentry"
"ely.by/sessionserver/internal/services/chrly" "ely.by/accounts-profiles-endpoint/internal/services/chrly"
"ely.by/sessionserver/internal/services/signer" "ely.by/accounts-profiles-endpoint/internal/services/signer"
) )
func Serve() error { func Serve() error {

View File

@ -6,7 +6,7 @@ import (
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/spf13/viper" "github.com/spf13/viper"
"ely.by/sessionserver/internal/version" "ely.by/accounts-profiles-endpoint/internal/version"
) )
func InitWithConfig(config *viper.Viper) error { func InitWithConfig(config *viper.Viper) error {

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"os" "os"
"ely.by/sessionserver/internal/cmd" "ely.by/accounts-profiles-endpoint/internal/cmd"
) )
func main() { func main() {