Refactor main package
Acceptance criteria
-
Coverage is higher or equal to coverage on master -
CI runs without problems -
Code doesn't contain TODOs or unused functions -
Code has been inspected and deemed to have decent quality [effectiveGo]: https://golang.org/doc/effective_go.html
This MR moves the initialization of the routing to a separate package called routing. The initialization of the configuration was moved to the config package. These parts of the application did not belong in the main package. Additionally, it replaces the hard-coded strings in the handler/print with the constants introduced in !126 (merged)
Please do not close the issue and do not delete the source branch.
Edited by Peter Werner