diff --git a/day01/day01_input b/day01/day01_input deleted file mode 120000 index c127fa7..0000000 --- a/day01/day01_input +++ /dev/null @@ -1 +0,0 @@ -../inputs/day01_input \ No newline at end of file diff --git a/day01/inputs b/day01/inputs new file mode 120000 index 0000000..a80bb2b --- /dev/null +++ b/day01/inputs @@ -0,0 +1 @@ +../inputs \ No newline at end of file diff --git a/day01/trebuchet.go b/day01/trebuchet.go index 1a7f727..d62f968 100644 --- a/day01/trebuchet.go +++ b/day01/trebuchet.go @@ -109,7 +109,7 @@ func CombineIndexes(s string) int { } func main() { - file, err := os.Open("./day01_input") + file, err := os.Open("./inputs/day01_input") check(err) defer file.Close() diff --git a/day02/day02_input b/day02/day02_input deleted file mode 120000 index be59d2c..0000000 --- a/day02/day02_input +++ /dev/null @@ -1 +0,0 @@ -../inputs/day02_input \ No newline at end of file diff --git a/day02/inputs b/day02/inputs new file mode 120000 index 0000000..a80bb2b --- /dev/null +++ b/day02/inputs @@ -0,0 +1 @@ +../inputs \ No newline at end of file diff --git a/day02/lottacubes.go b/day02/lottacubes.go index 42b53e6..b46856c 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("./day02_input") + file, err := os.Open("./inputs/day02_input") check(err) defer file.Close()