mirror of
https://github.com/araddon/dateparse.git
synced 2025-09-19 05:05:15 +08:00
Vendor termtables to fix main.go
Add comment for ParserOption
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user