Versions in this module Expand all Collapse all v1 v1.9.0 May 29, 2018 Changes in this version + func Abs(n int) int + func Day1(digits []byte) int + func Day12(r io.Reader) int + func Day2(spreadsheet [][]int) int + func Day3(square int) int + func Day4(passphrases []string) int + func Day5Part1(maze []int) int + func Day5Part2(maze []int) int + func Day6Impl1(banks Banks, activeBanks int) int + func Day6Impl2(banks []int) int + func Day7(r io.Reader) string + func Day8(r io.Reader) (int, error) + func Day9(stream []byte) int + func Delta(n int, axisfn func(float64) float64) int + func Transform(n int, axisfn func(float64) float64, clockwise bool) int + func X(n int) int + func Y(n int) int + type Banks [16]int + type Cmp int + const EQ + const GE + const GT + const LE + const LT + const NE + type Condition struct + type Instruction struct + type Operation struct + type RA struct + type Registers map[string]int + func (a Registers) Apply(op Operation) + func (a Registers) Dump() + func (a Registers) Max() int + func (a Registers) Step(i Instruction) + func (a Registers) True(c Condition) bool