Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.01 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.01 KB

Advent of Code 2022 🕯️🕯️🕯️🕯️

Go Unit Tests

My personal, sloppy take on the Advent of Code 2022 puzzles 🫠

Run and have fun 🦌

Clone the repository if you haven't done so via https

git clone https://github.com/capthiron/advent-of-code-2022.git

via ssh

git clone git@github.com:capthiron/advent-of-code-2022.git

Run solution of days 01-25 by executing

go run cmd/DAY/main.go --fileName "path/to/input/file"

or with encrypted input file

go run cmd/DAY/main.go --fileName "path/to/input/file" --key "KEY"

How to bootstrap a new day 🎁

go run cmd/bootstrap/main.go --day [01-25]

How to encrypt input files 🔒

go run cmd/crypto/main.go --key "KEY" --fileName "path/to/input/file.txt" > path/to/encrypted/input/file.txt