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

Move logging to package #7

Merged
merged 2 commits into from
Mar 24, 2023
Merged

Conversation

Hrom-in-space
Copy link
Contributor

Предлагаю разделить одно глобальное пространство на изолированные пакеты.
Это в дальнейшем упростит работу с компонентами системы, их будет проще писать, тестировать и отлаживать.
В качестве примера сделал это с логированием.
Если это подходит проекту то в дальнейшем можно выделить остальный компоненты и main.go сделать единой точкой взаимодействия компонентов.

@schors schors merged commit 659fc1c into usher2:master Mar 24, 2023
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