package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Dec 9, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewParser() *participle.Parser[Cards]
type Card struct {
Id int `parser:"'Card' @Int ':'"`
Tickets []int `parser:"@Int+ '|'"`
WinningNumbers []int `parser:"@Int+"`
}
type Cards struct {
Cards []*Card `parser:"@@*"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.