Open fsxchen opened 1 year ago
Hi I don't think that it is a problem as you can see in the app/main.go the imports there are labeled "../article/usecase" so it wont matter if you have two packages the same name as long as they are not located in the same directory . I may misunderstood your question so I would appreciate if you would correct me.
Hi,I think this is a good repo to study clean-arch, In this demo, It implements a specific domain(article),and in this article directory,It privodes usecase package。If I add another domain(such as
author
),then I have to package nameusecase
。So How do I solve this dilemma?I'm a pythoner turned golang!This transition has been difficult for me.