Go Report Card

🎄 Advent of Code 2021 🎄

AoC2021 logo

Summary

Advent of Code is an annual Advent calendar of programming puzzles.

This year I am doing it in Go and Python.

Running the code

To run the code of a specific day from the root directory run the following, replacing XX with the day number, 0125:

go run day_XX/go/main.go
python3 day_XX/python/main.py

Make sure you have Go installed.

To run the code of all days run the script:

./run_all.sh

Make sure you have given permission to execute (chmod +x run_all.sh).

Overview

Day Name Stars
01

Linting

gofmt -s -w .
git ls-files | grep .go | xargs golint
black . && isort -rc && flake8

GitHub

View Github