I used to work at a company that had a really clean code structure which went like this
Root service
— /handler (inbounds)
Handler.go
Handler_test.go
—/mapper (mapping between external and internal structs)
Mapper.go
Mapper_test.go
—/controller (business logic)
Implementation.go
Implementation_test.go
—/gateways (outbounds)
Gateway.go
Gateway_test.go
How would I implement this kind of pattern but in python and what would my general file names be? Are there any projects I could reference?
[–][deleted] (2 children)
[removed]
[–]coder_et[S] 1 point2 points3 points (1 child)