Merge remote-tracking branch 'origin/feature/GAT-103' into develop
This commit is contained in:
commit
ac0f63c1db
6 changed files with 5 additions and 5 deletions
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -1,3 +1,3 @@
|
|||
[submodule "proto"]
|
||||
path = proto
|
||||
path = contracts
|
||||
url = https://git.sch9.ru/new_gate/contracts
|
||||
|
|
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
|||
tag = latest
|
||||
|
||||
gen:
|
||||
@oapi-codegen --config=config.yaml ./proto/user/v1/openapi.yaml
|
||||
@oapi-codegen --config=config.yaml ./contracts/user/v1/openapi.yaml
|
||||
dev: gen
|
||||
@go run cmd/ms-auth/main.go
|
||||
build: gen
|
||||
|
|
|
@ -4,12 +4,12 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
"git.sch9.ru/new_gate/ms-auth/config"
|
||||
userv1 "git.sch9.ru/new_gate/ms-auth/contracts/user/v1"
|
||||
"git.sch9.ru/new_gate/ms-auth/internal/models"
|
||||
"git.sch9.ru/new_gate/ms-auth/internal/users/delivery/rest"
|
||||
usersRepository "git.sch9.ru/new_gate/ms-auth/internal/users/repository"
|
||||
usersUseCase "git.sch9.ru/new_gate/ms-auth/internal/users/usecase"
|
||||
"git.sch9.ru/new_gate/ms-auth/pkg"
|
||||
userv1 "git.sch9.ru/new_gate/ms-auth/proto/user/v1"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
fiberlogger "github.com/gofiber/fiber/v2/middleware/logger"
|
||||
"github.com/ilyakaznacheev/cleanenv"
|
||||
|
|
|
@ -2,4 +2,4 @@ package: userv1
|
|||
generate:
|
||||
fiber-server: true
|
||||
models: true
|
||||
output: ./proto/user/v1/user.go
|
||||
output: ./contracts/user/v1/user.go
|
|
@ -3,10 +3,10 @@ package rest
|
|||
import (
|
||||
"encoding/base64"
|
||||
"errors"
|
||||
userv1 "git.sch9.ru/new_gate/ms-auth/contracts/user/v1"
|
||||
"git.sch9.ru/new_gate/ms-auth/internal/models"
|
||||
"git.sch9.ru/new_gate/ms-auth/internal/users"
|
||||
"git.sch9.ru/new_gate/ms-auth/pkg"
|
||||
userv1 "git.sch9.ru/new_gate/ms-auth/proto/user/v1"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"github.com/golang-jwt/jwt/v4"
|
||||
"strings"
|
||||
|
|
Loading…
Add table
Reference in a new issue