Mocking specific error types in golang unit tests

前端 未结 0 1514
Happy的楠姐
Happy的楠姐 2020-12-04 06:57

I have been working on handling soft failures in some golang functions, and want to create some unit tests for the various failure scenarios. For example some of the checks

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