| 14 | } |
| 15 | |
| 16 | type cronJobService struct { |
| 17 | repo repository.CronJobRepository |
| 18 | l *zap.Logger |
| 19 | refreshInterval time.Duration |
| 20 | } |
| 21 | |
| 22 | func NewCronJobService(repo repository.CronJobRepository, l *zap.Logger) CronJobService { |
| 23 | return &cronJobService{ |
nothing calls this directly
no outgoing calls
no test coverage detected