Printf("Error: resp %#+v, err %v\n", resp, err) return 0 ... testify的mock和gomock的概念类似,功能上略微弱些。用其写此测试用例的话: ...
確定! 回上一頁