Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/vet or golint: Catch TestMain without os.Exit #9917
Do we need to check if the method is in
I'm creating a CL which only checks that the return value is used. This will detect most common issues (but not
I skimmed parts of stdlib but didn't find any obvious other candidates as serious as
@robpike OK, I'm not sure what you're after. Just to play around, I added interface support and moved everything to a single argument, but I do not know types package, so I guess there are issues with the code, besides requiring cleanup.
Are there any other classes of unused results you think it should catch?