mirror of
https://github.com/prometheus-community/json_exporter
synced 2024-12-22 22:44:51 +00:00
5783a9ca02
Refactor FetchJson to use a constructor. * Cleanup nolint to use a a .golangci.yml config. * Switch go-kit/kit/log to go-kit/log. Signed-off-by: SuperQ <superq@gmail.com>
5 lines
170 B
Plaintext
5 lines
170 B
Plaintext
// Used in HTTP handlers, any error is handled by the server itself.
|
|
(net/http.ResponseWriter).Write
|
|
// Never check for logger errors.
|
|
(github.com/go-kit/log.Logger).Log
|