hashport-validator
hashport-validator copied to clipboard
Refactor exported structs
Implementation structs are exported when they shouldn't be. Only the interface should be exported. This is pretty much present throughout every app layer.
Examples include all services under
-
app/services
-
app/persistence
-
app/process
-
mocks/...
- ...
Ensuring these structs are not exported improves the code's testability, usability, maintainability, and readability.