| 20 | } |
| 21 | |
| 22 | type relationRepository struct { |
| 23 | dao dao.RelationDAO |
| 24 | cache cache.RelationCache |
| 25 | logger *zap.Logger |
| 26 | } |
| 27 | |
| 28 | func NewRelationRepository(dao dao.RelationDAO, cache cache.RelationCache, logger *zap.Logger) RelationRepository { |
| 29 | return &relationRepository{ |
nothing calls this directly
no outgoing calls
no test coverage detected