Closed tmm1 closed 4 years ago
Thanks, I assume you're meaning that the code is not correctly formatted? This is a valid Go code though. Seems like go/analysis
doesn't formatting fixes. I'll ask around whether this is intended or not.
/cc @matloob
@matloob is working on a fix that will format source code that are modified with the -fix
flag: https://go-review.googlesource.com/c/tools/+/209861
The latest master includes now the fix. Thank you for your report again. Also released a new version with it: https://github.com/fatih/errwrap/releases/tag/v1.1.0