aoc

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 12 Imported by: 0

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...

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL