when we have:
f, err := os.Open("no-file.txt")
if err != nil {
log.Panic(err)
}
defer f.Close()
I think it would make more sense to use log.Panic(err). Right? Panic() allows defer f.Close() to execute but log.Fatal() prevents it.
Or the file doesn't get opened if not found? I supposed in that case it's irrelevant if we use Fatal or Panic. Right?