gorhill / cronexpr

Cron expression parser in Go language (golang)
683 stars 168 forks source link

Could the `expression` field of `Expression` structs be readable somehow? #39

Open jameshiew opened 5 years ago

jameshiew commented 5 years ago

e.g. via a GetCronLine() method or similar

Even though the constructor of an Expression struct necessarily knows the raw cron expression, it would be useful when passing things around to have just the one struct rather than the struct + the cron expression string, in cases where this is necessary to do.