# README
aoc - adventofcode.com cli and data
Get AdventofCode.com data in Go
import (
aoc "github.com/mike-seagull/aoc"
)
func main() {
var session = aoc.Input{token: "MY_SESSION_TOKEN"}
todaysInput := session.GetTodaysInput() // Returns raw puzzle input
todaysInputArray := session.GetTodaysInputLines() // Returns todays input as an array of strings
}
AdventofCode.com data to a file
Coming soon...
Quickstart
Get package:
go get github.com/mike-seagull/aoc
Install cli
go install github.com/mike-seagull/aoc
Why Go
Because its fast! Also it can be compiled to a shared library to be used in other languages. Examples of this coming soon...