mirror of
https://github.com/elyby/accounts-profiles-endpoint.git
synced 2024-11-26 00:38:54 +05:30
Rename package
This commit is contained in:
parent
5b9666bc2f
commit
2eda0caf55
@ -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
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module ely.by/sessionserver
|
module ely.by/accounts-profiles-endpoint
|
||||||
|
|
||||||
go 1.23.0
|
go 1.23.0
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user