News for hackers. Stuff that matters.
Re:Proposal: A built-in Go error check function, try by Alexendoo on Wednesday June 05, 2019 @06:55AM (#20103082)
For 3., For use in defer the error return does have to be declared as you'd expect, in the examples it's done in the function signature

  func CopyFile(src, dst string) (err error) {
                                  ^^^
                                  here

There are no comments on this comment yet.