DEV Community

Discussion on: AoC Day 1: Chronal Calibration

 
tpires profile image
Tiago Pires

Hi jess!

Just a small advert: you should defer f.Close() after check if there's an error.

Also: Check out my GitHub Repo.

Thread Thread
 
thejessleigh profile image
jess unrein

Oh, if this were production code I totally would, but I'm really only building these solutions to solve the problem, and not looking to make them infinitely extensible.