diff --git a/day01/day01_input b/day01/day01_input new file mode 120000 index 0000000..c127fa7 --- /dev/null +++ b/day01/day01_input @@ -0,0 +1 @@ +../inputs/day01_input \ No newline at end of file diff --git a/day01/trebuchet.go b/day01/trebuchet.go index 8d02de1..1a7f727 100644 --- a/day01/trebuchet.go +++ b/day01/trebuchet.go @@ -109,7 +109,7 @@ func CombineIndexes(s string) int { } func main() { - file, err := os.Open("../inputs/day01_input") + file, err := os.Open("./day01_input") check(err) defer file.Close() diff --git a/day02/day02_input b/day02/day02_input new file mode 120000 index 0000000..be59d2c --- /dev/null +++ b/day02/day02_input @@ -0,0 +1 @@ +../inputs/day02_input \ No newline at end of file diff --git a/day02/lottacubes.go b/day02/lottacubes.go index f3455c4..42b53e6 100644 --- a/day02/lottacubes.go +++ b/day02/lottacubes.go @@ -140,7 +140,7 @@ func PrintAndWait[T any](x T) { } func main() { - file, err := os.Open("../inputs/day02_input") + file, err := os.Open("./day02_input") check(err) defer file.Close()