From 8be555e5f91c6069c3d51cb014f1849fd182b1dc Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 24 Nov 2022 15:40:39 +0100 Subject: Style: Use stylecheck and fix errors --- internal/http/http.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/http') diff --git a/internal/http/http.go b/internal/http/http.go index 005a665..a9d3ea2 100644 --- a/internal/http/http.go +++ b/internal/http/http.go @@ -170,13 +170,13 @@ func (e *HTTPStatusError) Error() string { ) } -type HTTPParseJsonError struct { +type HTTPParseJSONError struct { URL string Body string Err error } -func (e *HTTPParseJsonError) Error() string { +func (e *HTTPParseJSONError) Error() string { return fmt.Sprintf( "failed parsing json %s for HTTP resource: %s with error: %v", e.Body, -- cgit v1.2.3