Documentation ¶
Overview ¶
Package advent contains
Index ¶
- Variables
- func ByteToInt(b byte) int
- func LoadData(file string) ([]string, error)
- func LoadIntData(file string) ([]int, error)
- func LoadIntDataSliceOfSlices(file string) ([][]int, error)
- func LoadIntSliceData(fileName string) ([]int, error)
- func OpenFile(fileName string) (*os.File, error)
- func Run(number int8, day Day)
- type Day
Constants ¶
This section is empty.
Variables ¶
View Source
var DataFolder = "data"
Functions ¶
func LoadData ¶
LoadData attempts to complete load a data file and returns the data in a slice containing one element per newline delimited line.
func LoadIntData ¶
func LoadIntDataSliceOfSlices ¶
LoadIntDataSliceOfSlices loads blank line delimited chunks of newline delimited ints into grouped slices.
func LoadIntSliceData ¶
LoadIntSliceData loads a set of ints, comma delimited, from a single line
Types ¶
Click to show internal directories.
Click to hide internal directories.