Solutions for Advent of Code written in Go.
Year | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2024 | ** | ** | ** | ** | ** | ** | ** | ** | ** | ** | ** | * | ** | ** | * | ||||||||||
2023 | ** | ** | ** | ** | ** | ** | ** | * |
task generate YEAR=2024 DAY=1
task aoc:input YEAR=2024 DAY=1
This runs both parts with input.txt
which is in same directory as main.go
.
task run YEAR=2024 DAY=1
To pass flags to program append -- <flags>
. Possible options:
-input string
Input file. If empty read from stdin.
-part int
Solution part. If empty run both parts.
-timeout duration
Solution timeout. (default 1m0s)