News for hackers. Stuff that matters.
Re:Portable Cloud Programming with Go Cloud by skj on Tuesday July 24, 2018 @12:57PM (#17602868)
The third line has a new err inside the if statement's scope.

It's equivalent to

    { // begin new scope here
      err := w.Close()
      if err != nil {
        foo
      } else {
        bar
      }
    }

There are no comments on this comment yet.