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

Big refactoring #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Big refactoring #8

wants to merge 1 commit into from

Conversation

DimNS
Copy link
Collaborator

@DimNS DimNS commented Mar 22, 2024

No description provided.

@DimNS DimNS force-pushed the dimns-refactor-1 branch from d88393b to b924eeb Compare March 22, 2024 03:44
@@ -1,2 +1,4 @@
.vscode
geeksonator
.vscode/
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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)
Copy link
Contributor

Choose a reason for hiding this comment

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

а тут почему не проверяем, что корректно сервис создался?

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.

2 participants