-
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
Big refactoring #8
base: master
Are you sure you want to change the base?
Conversation
@@ -1,2 +1,4 @@ | |||
.vscode | |||
geeksonator | |||
.vscode/ |
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.
Класть папки IDE в gitignore считается антипаттерном https://habr.com/ru/articles/202696/
GEEKSONATOR_DEBUG_MODE="true" | ||
GEEKSONATOR_DEBUG_TELEGRAM_BOT_TOKEN="debug_bot_token_here" | ||
``` | ||
3. Build image |
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.
хорошо бы мейкфайл иметь для таких команд, чтобы не перебивать их с ридми
@@ -1,5 +1,18 @@ | |||
module geeksonator | |||
|
|||
go 1.17 | |||
go 1.21 |
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.
уже 22 версия есть
zap.String("account", botAPI.Self.UserName), | ||
) | ||
|
||
telegramService := telegram.NewService(botAPI) |
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.