上記より、mock として使用できる db が生成できるようになったので、テストを作成します。 Test. func TestUserRepository_Find(t *testing.T) { db, ...
確定! 回上一頁