Usage: go run main.go [dayNumber] [pathToInputFile] For example: go run main.go 1 ~/01.txt The code panics on invalid input instead of the usual error handling (unless error handling is part of the task).