Mocking a struct's method call in go tests

前端 未结 0 593
野性不改
野性不改 2020-12-11 05:11

I am looking to mock a method of a struct in tests to improve code coverage. There are a few posts regarding this, none of them are working for me. I might have gotten this

相关标签:
回答
  • 消灭零回复
提交回复
热议问题