I'm running version 1.18 of the go compiler on the darwin platform. It says that this code generated by Mockery won't compile because they incorrectly called the anonymous nested struct method (conn.On()won't pass, and conn.Mock.On()should be used instead). In order to pass the compilation I did these changes.
I'm running version 1.18 of the go compiler on the darwin platform. It says that this code generated by Mockery won't compile because they incorrectly called the anonymous nested struct method (
conn.On()
won't pass, andconn.Mock.On()
should be used instead). In order to pass the compilation I did these changes.