You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2021. It is now read-only.
Hi, Very new to GO/Programming here, very interested in implementing DDD. Having a look over your code and just have a question.
Why did you choose to return/export interfaces rather than structs/concrete types? Was it to keep from having to retype the same interface in each service?
Haven't quite figured everything out yet, maybe there is something else I'm missing?
For example the CargoRepository interface is declared in in cargo.go rather then where it is consumed?