mchepukov / andersen-devops-course

Andersen DevOps courses (May)
0 stars 0 forks source link

Building a tasks message by going within tasks in the loop. #15

Open makushatnik opened 3 years ago

makushatnik commented 3 years ago

https://github.com/mchepukov/andersen-devops-course/blob/521267dfb8fcf407415df9aae6261ace4a5f16c9/telegram-bot/main.go#L90

Why not prepare it on Init Stage or in Vars/Const?

mchepukov commented 3 years ago

Because I want to get hot reload when bot is working. For example I add new tasks in file, and then when call \tasks - I see my all new tasks.

It's not best solution - but it's just working.