Documentation ¶ Index ¶ func Part1(hands []Hand) int func Part2(hands []Hand) int type Hand func LoadHands(filename string) ([]Hand, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Part1 ¶ func Part1(hands []Hand) int Part1 returns the total winnings func Part2 ¶ func Part2(hands []Hand) int Part2 returns the total winnings where 'J' cards are treated as jokers. Jokers are wildcards that make the strongest possible hand, but have the weakest strength when compared individually. Types ¶ type Hand ¶ type Hand struct { // contains filtered or unexported fields } func LoadHands ¶ func LoadHands(filename string) ([]Hand, error) Source Files ¶ View all Source files day7.go Click to show internal directories. Click to hide internal directories.