Vendor termtables to fix main.go

Add comment for ParserOption
This commit is contained in:
troyspencer
2019-08-13 10:01:04 -05:00
parent aca798503a
commit d7f7267056
26 changed files with 3823 additions and 0 deletions

View File

@@ -1734,6 +1734,8 @@ type parser struct {
t *time.Time
}
// ParserOption defines a function signature implemented by options
// Options defined like this accept the parser and operate on the data within
type ParserOption func(*parser) error
// PreferMonthFirst is an option that allows preferMonthFirst to be changed from its default