| 29 | } |
| 30 | |
| 31 | type userRepository struct { |
| 32 | l *zap.Logger |
| 33 | dao dao.UserDAO |
| 34 | cache cache.UserCache |
| 35 | } |
| 36 | |
| 37 | func NewUserRepository(dao dao.UserDAO, cache cache.UserCache, l *zap.Logger) UserRepository { |
| 38 | return &userRepository{ |
nothing calls this directly
no outgoing calls
no test coverage detected