| 41 | } |
| 42 | |
| 43 | type CronTrigger struct { |
| 44 | cronExpression *CronExpression |
| 45 | location *time.Location |
| 46 | } |
| 47 | |
| 48 | func CreateCronTrigger(expression string, location *time.Location) (*CronTrigger, error) { |
| 49 | cron, err := ParseCronExpression(expression) |
nothing calls this directly
no outgoing calls
no test coverage detected