This refactor aiming to make the proctor code easier to maintain since they're a lot of intertwined code between cli and proctord also a lot of files stored inside redundant directories. The naming convention and code style will be based on Go standard naming conventions and effective go docs.
Refactor source structure, now is separated into 3 main directories shared, cli, proctord.
Move all shared code into shared directory
All code that only used for cli or proctord moved to a certain directory.
All test is green
No logic changes
Most of the changes are for moving the file, changing the import targets and changes the import alias.
Phase 2 plan
Refactor proctord code to follow Hexagonal Architecture.
Refactor Phase 1
This refactor aiming to make the proctor code easier to maintain since they're a lot of intertwined code between
cli
andproctord
also a lot of files stored inside redundant directories. The naming convention and code style will be based on Go standard naming conventions and effective go docs.shared
,cli
,proctord
.shared
directorycli
orproctord
moved to a certain directory.Phase 2 plan
proctord
code to follow Hexagonal Architecture.@bimozx @giosakti