Hopefully I'll have time to complete the Advent of Code puzzles this year!
I will use it as an excuse to try out golang
.
Each days puzzles are created as main.go
scripts in separate main
packages,
in the directories day_1
, ... day_25
.
go run ./day_1/main.go
I will try to implement simple tests in the different packages. For example run
go test ./sonar
to run the sonar
package tests.