在Golang 中,使用 gomock 真的是超級方便,可以直接針對檔案產出對應的mock ... 採用 NewMockIExchangePriceModel 這個由mockgen 產生的struct 即可.
確定! 回上一頁