Hacker News new | ask | show | jobs
by umanwizard 375 days ago
Something slightly more elegant (in my subjective opinion) you could do is write

  if !(err != nil) {