Skip to content

Commit 208b4f7

Browse files
hasethrobfig
authored andcommitted
updated comments on parser example
1 parent e7da914 commit 208b4f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎parser.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ type Parser struct {
6161
// sched, err := specParser.Parse("0 0 15 */3 *")
6262
//
6363
// // Same as above, just excludes time fields
64-
// subsParser := NewParser(Dom | Month | Dow)
64+
// specParser := NewParser(Dom | Month | Dow)
6565
// sched, err := specParser.Parse("15 */3 *")
6666
//
6767
// // Same as above, just makes Dow optional
68-
// subsParser := NewParser(Dom | Month | DowOptional)
68+
// specParser := NewParser(Dom | Month | DowOptional)
6969
// sched, err := specParser.Parse("15 */3")
7070
//
7171
func NewParser(options ParseOption) Parser {

0 commit comments

Comments
 (0)