Testing using GoMock package

While mocking a function a blank parameter is passed which should get populated by the function internally.
Using gomock.Matcher it works via force assigning but using gomock.AssignableToTypeOf fails.
Need help to acheive this without using the matcher.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.