Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldRange ¶
type FieldRange struct {
Min, Max int
}
func (FieldRange) IsValid ¶
func (f FieldRange) IsValid(n int) bool
type FieldRanges ¶
type FieldRanges []FieldRange
func (FieldRanges) IsValid ¶
func (fs FieldRanges) IsValid(n int) bool
type Input ¶
type Input struct { Fields map[FieldName]FieldRanges YourTicket Ticket NearbyTickets []Ticket }
func ParseInput ¶
Click to show internal directories.
Click to hide internal directories.