DEV Community

Discussion on: Using Domain-Driven Design(DDD)in Golang

Collapse
 
hades32 profile image
Martin Rauscher

Why did you choose to return interfaces e.g. in your repository creation functions? Isn't that against recommended Go best practices?

Collapse
 
stevensunflash profile image
Steven Victor

Hi Martin. Thanks for the feedback.
In order to answer your question properly, can you include a code snippet to a comment where you observed this?

Thanks.

Some comments have been hidden by the post's author - find out more