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
}
Coming soon...
Get package:
go get github.com/mike-seagull/aoc
Install cli
go install github.com/mike-seagull/aoc
Because its fast! Also it can be compiled to a shared library to be used in other languages. Examples of this coming soon...