Truying to do something really silly with symlinks

This commit is contained in:
Davide Oddone 2023-12-02 16:56:35 +00:00
parent 5ad191354c
commit 7a92f12c01
4 changed files with 4 additions and 2 deletions

1
day01/day01_input Symbolic link
View File

@ -0,0 +1 @@
../inputs/day01_input

View File

@ -109,7 +109,7 @@ func CombineIndexes(s string) int {
} }
func main() { func main() {
file, err := os.Open("../inputs/day01_input") file, err := os.Open("./day01_input")
check(err) check(err)
defer file.Close() defer file.Close()

1
day02/day02_input Symbolic link
View File

@ -0,0 +1 @@
../inputs/day02_input

View File

@ -140,7 +140,7 @@ func PrintAndWait[T any](x T) {
} }
func main() { func main() {
file, err := os.Open("../inputs/day02_input") file, err := os.Open("./day02_input")
check(err) check(err)
defer file.Close() defer file.Close()