Gianguido Sorà 72e137e344 Added "bodyclose" support
This commit adds full support for bodyclose linter
(https://github.com/timakin/bodyclose), which checks if an `http.Body`
element is correctly closed after usage.

Since it can be used via `go/analysis', I followed the `govet' example
as suggested by https://github.com/golangci/golangci-lint/wiki/How-to-add-a-custom-linter.

This commit is fully tested, and contains a (flawed) test program which
calls `http.Get()' on `https://google.com' and does not closes its
corresponding `http.Body'.
2019-06-09 13:04:30 +03:00
..
2019-03-31 22:33:18 +03:00
2019-03-17 23:12:44 +03:00
2019-06-09 13:04:30 +03:00
2019-06-09 13:04:30 +03:00
2019-03-17 23:06:27 +03:00
2019-02-11 14:26:26 +08:00
2019-04-20 22:30:48 +03:00
2018-06-14 23:09:04 +03:00