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

Spring cleaning: pkg directory cleaned-up according to convention #58

Merged
merged 6 commits into from
Mar 13, 2019

Conversation

Levovar
Copy link
Collaborator

@Levovar Levovar commented Mar 13, 2019

Pkg directory literally became a dumping ground over time for Golang code.

According to the Golang project layout convention, pkg shall only contain code, which could be re-used by others. So, it was time for a grand spring cleanup!

Stubs and unit tests were moved under test/.
Crd was moved one level higher.
Glide files were moved one level higher.
Main packages of the binaries have moved under cmd/.

This changes enables the proper unit testing, and coverage measurement of functional code which was previously bundled-up in main packages!

@Levovar Levovar merged commit 819e200 into master Mar 13, 2019
@Levovar Levovar deleted the cmd_intro branch March 13, 2019 19:16
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.

1 participant