My solutions to the Advent of Code challenges.
Go to file
Dan Anglin 76583b3dda
/ test (pull_request) Successful in 25s Details
refactor: add common functions to internal package
It's time to add common functions to the internal 'common' package.

- Add the function that read the contents from a file to a list.
- Add the function that parses a list of integers from a string.

...and more to come later...
2023-12-05 19:43:52 +00:00
.forgejo/workflows refactor(Day 3): updated Day 3 solution code 2023-12-04 13:10:03 +00:00
.github/workflows ci(github): specify the version of Go to use 2023-12-03 00:26:06 +00:00
2023 refactor: add common functions to internal package 2023-12-05 19:43:52 +00:00
internal/common refactor: add common functions to internal package 2023-12-05 19:43:52 +00:00
LICENSE Initial commit 2023-12-01 15:03:51 +00:00
README.asciidoc feat: add a script for running the solutions 2023-12-04 20:59:19 +00:00
go.mod Initial commit 2023-12-01 15:03:51 +00:00
solve feat: add a script for running the solutions 2023-12-04 20:59:19 +00:00

README.asciidoc

Advent of Code

My solutions to the Advent of Code challenges in Go.

How to run the solutions

  1. Download and install Go if you dont have it installed already.

  2. The provided bash script can be used to run the solution to an AoC challenge.

    $ ./solve --help
    USAGE:
      ./solve [options]
    
    SUMMARY:
      Run the solution for the specified Advent of Code challenge
    
    OPTIONS:
      -h, --help:
        print this help message
    
      -y, --year:
        specify the year
    
      -d, --day:
        specify the day of the advent calendar
  3. Run the script specifying the year and the day of the advent calendar to view the result of that days challenge.

    ./solve --year 2023 --day 1