-
Notifications
You must be signed in to change notification settings - Fork 0
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
PR for graduate project #1
base: master
Are you sure you want to change the base?
Conversation
…and string in code
…balance from user
previously, if query returned more than one row, this method returned last one
…pdate previously it was Order in both cases. first change is for efficiency, second for clarity (what fields would be updated)
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.
Проект в целом сделан хорошо. Есть один момент. В модуле app намешано много всего. И транспортный уровень (http) и бизнес логика и мидлвары. Это стоит разбить на разные пакеты. Причем бизнес логика не должна ничего знать о хендлерах и прочих вещах, только о доменных моделях. Так проект станет более гибким. Вдруг понадобиться в будушем с http перейти на grpc?
Выпускной проект курса Go-разработчик от Яндекс.Практикума. ТЗ описано в SPECIFICATION.md
For English-speaking readers: this pull request contains my work on graduate project for "Go developer" course from Yandex.Practicum. Specification to which it must conform is given in SPECIFICATION.md in Russian language.