Re: [go-nuts] Mocked method not working in golang while running the test cases
Thanks for your help Chris Introduced *dependency injection* in this code using Delegation Design pattern with the help of interface. Here's the details explanation https://stackoverflow.com/a/59704965/5133838 Please share yours feedback. On Sat, 11 Jan, 2020, 9:39 PM Chris Burkert, wrote: >
Re: [go-nuts] Mocked method not working in golang while running the test cases
You could inject your dependencies. There is a funny talk by Liron Levin [1] which helped me a lot. 1: https://youtu.be/_B_vCEiO4mA prakash sharma schrieb am Sa. 11. Jan. 2020 um 16:24: > Need help: > >