sklinkert / go-ddd

Opinionated Domain Driven Design Template for Go
MIT License
211 stars 28 forks source link

hi guys. I'd like to ask why there is no domain service layer here? #29

Open SenLinLeo opened 3 months ago

SenLinLeo commented 1 month ago

image

sklinkert commented 3 weeks ago

It's doable but I think the code is bit easier to understand and write if you reference domain.MyService instead of service.MyService. Because you could argue the same for application layer and then service. is used for kind of all layers.