O'Reilly logo
  • Liang Qiao thinks this is interesting:

type Result struct { 1 Error error Response *http.Response } checkStatus

From

Cover of Concurrency in Go

Note

good way to split this and actual error handling code!