-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev4 #26
Conversation
…e deps,healthchecks
…lhost:<port> to :<port>, replaced string servers params with env variables
…rod.yml for pulling images while deploying
…nsible, add inventory in .gitignore
…board, search, subscription
TP-6ec_easyjson: generated easyjson, changed serialization for user, …
Tp c01 ci cd
TP-6ec_easyjson: add rest easyjson
…d auth config to main.go
…_2_OND_team' folder to dest
Tp 87a filtration
.github/workflows/ci.yml
Outdated
push: {} | ||
pull_request: | ||
types: [opened, edited, reopened] | ||
branches: [main, dev4] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
может сделать для любой ветки dev? или вам только в этих двух ветках пайплайн с тестами нужен?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
добавили остальные ветки
Makefile
Outdated
|
||
ENTRYPOINT=cmd/app/main.go | ||
DOC_DIR=./docs | ||
COV_OUT=coverage.out | ||
COV_HTML=coverage.html | ||
CURRCOVER=github.com/go-park-mail-ru/2023_2_OND_team/internal/pkg/delivery/http/v1 | ||
|
||
PROJECT_DIR = $(shell pwd) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
У make есть такая переменная $(CURDIR)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
исправили
@@ -56,8 +56,8 @@ func (h *HandlerHTTP) CheckLogin(w http.ResponseWriter, r *http.Request) { | |||
func (h *HandlerHTTP) Login(w http.ResponseWriter, r *http.Request) { | |||
logger := h.getRequestLogger(r) | |||
|
|||
params := usecase.UserCredentials{} | |||
err := json.NewDecoder(r.Body).Decode(¶ms) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
если для структуры определены методы декода, то они тут будут использоваться вместо дефолтных, так что можно было не менять
No description provided.