gomock 是官方提供的mock框架,用于解决单元测试中遇到的外部依赖问题,并且还有mockgen工具用 ... error) } // service.service.go type FindService struct { DB dao.
確定! 回上一頁