Documentation ¶
Index ¶
Constants ¶
View Source
const ( FirstDayNum = 1 FirstDay = "1" LastDayNum = 25 LastDay = "25" TypeLeaderboard = "leaderboard" TypeOptimized = "optimized" PartOne = "1" PartTwo = "2" FirstYearNum = 2015 FirstYear = "2015" )
Variables ¶
View Source
var ( SolutionTypes = []string{TypeLeaderboard, TypeOptimized} SolutionParts = []string{PartOne, PartTwo} )
Functions ¶
This section is empty.
Types ¶
type Day ¶
type MultiWriteCloser ¶
type MultiWriteCloser struct {
// contains filtered or unexported fields
}
MultiWriteCloser is based on io.MultiWriter, but is an io.WriteCloser and can add new io.WriteClosers on the fly
func (*MultiWriteCloser) Add ¶
func (mwc *MultiWriteCloser) Add(w io.WriteCloser)
func (*MultiWriteCloser) Close ¶
func (mwc *MultiWriteCloser) Close() error
type Table ¶
type Table struct { // NumRows is the number of rows the table has. Each column must have exactly this number of rows. NumRows int // contains filtered or unexported fields }
Table is a table that can be rendered to markdown. It supports a column based data API and pads columns to a constant width.
type Type ¶
func FirstUnsolvedSolution ¶
Click to show internal directories.
Click to hide internal directories.