aoc2020

command module
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: GPL-2.0, GPL-3.0 Imports: 4 Imported by: 0

README

Advent of Code 2020 (Golang)

Build Status Go Report Card

This repo contains my solutions to Advent of Code, 2020.

Prerequisites

You will need go installed. Recommend installing brew and running brew install go.

Running the Solutions

Download, build, and install the solutions like so:

# Download, build, and install solutions from this repo
go get github.com/dds/aoc2020/...

# Run solution for day 1
day1

# Get input for day 20, wait up to 8h, and copy to clipboard if successful
aocinput 20 --session=<session_cookie> --timeout=8h --clipboard

How To

For each day, copy the scaffold.go file into a directory for the day, so day 1 you would:

mkdir day1
cp scaffold.go day1/day1.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
lib

Jump to

Keyboard shortcuts

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