Skip to content

Commit

Permalink
Rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
erickskrauch committed Sep 30, 2024
1 parent 5b9666b commit 2eda0ca
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module ely.by/sessionserver
module ely.by/accounts-profiles-endpoint

go 1.23.0

Expand Down
10 changes: 5 additions & 5 deletions internal/cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/logging/sentry/sentry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"ely.by/sessionserver/internal/cmd"
"ely.by/accounts-profiles-endpoint/internal/cmd"
)

func main() {
Expand Down

0 comments on commit 2eda0ca

Please sign in to comment.