Skip to content

Commit

Permalink
updated comments on parser example
Browse files Browse the repository at this point in the history
  • Loading branch information
haseth authored and robfig committed Mar 16, 2020
1 parent e7da914 commit 208b4f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ type Parser struct {
// sched, err := specParser.Parse("0 0 15 */3 *")
//
// // Same as above, just excludes time fields
// subsParser := NewParser(Dom | Month | Dow)
// specParser := NewParser(Dom | Month | Dow)
// sched, err := specParser.Parse("15 */3 *")
//
// // Same as above, just makes Dow optional
// subsParser := NewParser(Dom | Month | DowOptional)
// specParser := NewParser(Dom | Month | DowOptional)
// sched, err := specParser.Parse("15 */3")
//
func NewParser(options ParseOption) Parser {
Expand Down

0 comments on commit 208b4f7

Please sign in to comment.