In the absence of an affirmative, I'll just say that I did a search of my own.
This site: https://github.com/mre/awesome-static-analysis lists a bunch of static analysis tools for go. https://github.com/alecthomas/gometalinter has another list, and will run them for you. They have binary packages now at https://github.com/alecthomas/gometalinter/releases that include the linters they can run. I wrote a minimal program that has the condition of opening an os.File, which is an os.Closer, and not explicitly closing it. None of them complained about this minimal program, so it is reasonable to assume that none of the static analysis tools on the gometalinter list check for that. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.