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

Moved all root files to separate packages. #27

Merged
merged 1 commit into from
Mar 19, 2019
Merged

Moved all root files to separate packages. #27

merged 1 commit into from
Mar 19, 2019

Conversation

bwplotka
Copy link
Member

0 logic change.

Also module in go.mod was utterly wrong. Now all should work properly.

Signed-off-by: Bartek Plotka bwplotka@gmail.com

Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
@bwplotka bwplotka requested a review from free March 16, 2019 22:28
Copy link
Member

@free free left a comment

Choose a reason for hiding this comment

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

LGTM

With apologies for the delay. I didn't even have the time to look at the email until now and only did so because I noticed it said "zero logic changes", so I figured it would be quick.

Out of curiosity, what's the benefit of putting every file in its own package?

@bwplotka
Copy link
Member Author

Sure:

  • clear boundaries for unrelated functionalities
  • separation of concern

It's not that big deal just easier to work with over time -> and unit test (!) at some point 😄

@bwplotka bwplotka merged commit efb01aa into master Mar 19, 2019
@bwplotka bwplotka deleted the pkg branch March 19, 2019 17:35
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