🎄⭐🌟 Advent of Code 2022 🌟⭐🎄


🎄 🎄 🎄 🎄 🎄
1 2 3 4 5
🌟🌟 🌟🌟 🌟🌟 🌟🌟 🌟🌟
6 7 8 9 10
🌟🌟 🌟🌟 🌟🌟 🌟🌟 🌟🌟
11 12 13 14 15
🌟🌟 🌟🌟 🌟🌟 ____ ____
16 17 18 19 20
____ ____ ____ ____ ____
21 22 23 24 25
____ ____ ____ ____ ____

Go

Architecture

For Day1, you can edit the following file:

  • day1/input.txt (Containing the dataset)
  • day1/main.go (Containing the code)
  • day1/main_test.go (Containing the test set)

Commands

For Day1, you can cd into day1/ and then use the following commands:

  • go run . to run the code against the dataset
  • echo "my-data-set" | go run . to run the code against data provided on stdin
  • go test . to run the test set