| 22 | } |
| 23 | |
| 24 | type checkService struct { |
| 25 | repo repository.CheckRepository |
| 26 | ActivityRepo repository.ActivityRepository |
| 27 | postProducer publish.Producer |
| 28 | searchRepo repository.SearchRepository |
| 29 | l *zap.Logger |
| 30 | commentProducer comment.Producer |
| 31 | } |
| 32 | |
| 33 | func NewCheckService(repo repository.CheckRepository, searchRepo repository.SearchRepository, l *zap.Logger, ActivityRepo repository.ActivityRepository, publishProducer publish.Producer, commentProducer comment.Producer) CheckService { |
| 34 | return &checkService{ |
nothing calls this directly
no outgoing calls
no test coverage detected