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
Hi! I think Repositories should be unexported by except the usecase, which can be achieved by putting underscore to function name of new repo instance and move the usecase and repo in one domain package for example:
article
├── usecase.go
├── repo.go
The approach above, will force clients to call service rather than calling the new repo instance.
The text was updated successfully, but these errors were encountered:
Hi! I think Repositories should be unexported by except the usecase, which can be achieved by putting underscore to function name of new repo instance and move the usecase and repo in one domain package for example:
The approach above, will force clients to call service rather than calling the new repo instance.
The text was updated successfully, but these errors were encountered: