News for hackers. Stuff that matters.
Re:Go 1.2 Release Candidate 1 released by benmanns on Friday September 20, 2013 @11:44AM (#6418418)
And you might like:

  if _, err := somethingThatFails(arg); err != nil {
    return fmt.Errorf("failed with arg=%v, %v", arg, err)
  }
Re:Go 1.2 Release Candidate 1 released by AYBABTME on Saturday September 21, 2013 @12:17AM (#6421968)
In that case I was ignoring the returned value for the sake of the example, otherwise you lose the declaration when it's in a `if`.