Skip to content
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

Merged
merged 26 commits into from
Dec 20, 2023
Merged

Dev4 #26

merged 26 commits into from
Dec 20, 2023

Conversation

Gvidow
Copy link
Collaborator

@Gvidow Gvidow commented Dec 20, 2023

No description provided.

wonderf00l and others added 23 commits December 5, 2023 23:31
…lhost:<port> to :<port>, replaced string servers params with env variables
TP-6ec_easyjson: generated easyjson, changed serialization for user, …
push: {}
pull_request:
types: [opened, edited, reopened]
branches: [main, dev4]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

может сделать для любой ветки dev? или вам только в этих двух ветках пайплайн с тестами нужен?

Copy link
Collaborator

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)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

У make есть такая переменная $(CURDIR)

Copy link
Collaborator

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(&params)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

если для структуры определены методы декода, то они тут будут использоваться вместо дефолтных, так что можно было не менять

@Gvidow Gvidow merged commit dd2e177 into dev3 Dec 20, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants