gomock 非常好用,但最大的问题是,只能对接口进行mock,gostub 是一个可以 ... make([]interface{}, len(a)) for i, v := range a { s[i] = strings.
確定! 回上一頁