//
pkg.gl
Category
github.com/mjm/advent-of-code-2019
day11
package
0.0.0-20191230163237-a30599c1cba0
Repository:
https://github.com/mjm/advent-of-code-2019.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
1
Files
153 SLOC
#
Functions
NewCanvas
NewCanvas creates an empty canvas.
NewRobot
NewRobot creates a new robot that paints on the given canvas.
#
Constants
Down
The four directions the robot can move.
Left
The four directions the robot can move.
Right
The four directions the robot can move.
Up
The four directions the robot can move.
#
Structs
Canvas
Canvas is an infinitely paintable 2D surface.
Robot
Robot is an emergency hull painting robot.
#
Type aliases
Direction
Direction is one of the cardinal directions that the robot can move.