Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseNumbers ¶
func ReadExample ¶
func ReadExample() []string
Types ¶
type Almanac ¶
type Almanac struct { SeedRanges []*SeedRange // Head map is the seed-to-soil map Head *Map // Tail map is the humidity-to-location map Tail *Map }
func ParseAlmanac ¶
func (*Almanac) ContainsSeed ¶
func (*Almanac) SeedAtLowestLocation ¶
type Category ¶
type Category string
const ( CategorySEED Category = "seed" CategorySOIL Category = "soil" CategoryFERTILIZER Category = "fertilizer" CategoryWATER Category = "water" CategoryLIGHT Category = "light" CategoryTEMPERATURE Category = "temperature" CategoryHUMIDITY Category = "humidity" CategoryLOCATION Category = "location" )
type Map ¶
Click to show internal directories.
Click to hide internal directories.