| 32 | } |
| 33 | |
| 34 | type postService struct { |
| 35 | repo repository.PostRepository |
| 36 | incRepo repository.InteractiveRepository |
| 37 | producer post.Producer |
| 38 | checkProducer check.Producer |
| 39 | l *zap.Logger |
| 40 | } |
| 41 | |
| 42 | func NewPostService(repo repository.PostRepository, l *zap.Logger, p post.Producer, c check.Producer, incRepo repository.InteractiveRepository) PostService { |
| 43 | return &postService{ |
nothing calls this directly
no outgoing calls
no test coverage detected