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
Thanks a lot for the repo and it is really informative. However I have two small questions about pointer and value for usecase.
In this scenario, article usecase is using pointer in both constructor and method receiver, is it because of the repository dependency(sqldb) which is also a pointer?
What if I have a simpler usecase which doesn't have dependencies of references, eg: repository and it's just used to do simple stateless calculations without extra pointer dependencies. For these kind of scenarios, may I use copies instead of pointers?
I would be very appreciated if you could clear some of my doubts.
The text was updated successfully, but these errors were encountered:
Thanks a lot for the repo and it is really informative. However I have two small questions about pointer and value for usecase.
I would be very appreciated if you could clear some of my doubts.
The text was updated successfully, but these errors were encountered: