emailRepository 实现了 EmailRepository 接口
| 17 | |
| 18 | // emailRepository 实现了 EmailRepository 接口 |
| 19 | type emailRepository struct { |
| 20 | cache cache.EmailCache |
| 21 | l *zap.Logger |
| 22 | } |
| 23 | |
| 24 | // NewEmailRepository 创建并返回一个新的 smsRepository 实例 |
| 25 | func NewEmailRepository(cache cache.EmailCache, l *zap.Logger) EmailRepository { |
nothing calls this directly
no outgoing calls
no test coverage detected