From 9ce0ffc8bd497fac913d4c8e953872b0f4974b65 Mon Sep 17 00:00:00 2001 From: kim Date: Fri, 5 Apr 2024 15:34:57 +0100 Subject: [PATCH] formatting --- internal/httpclient/sign.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/httpclient/sign.go b/internal/httpclient/sign.go index 6b561c45a..eff20be49 100644 --- a/internal/httpclient/sign.go +++ b/internal/httpclient/sign.go @@ -32,9 +32,7 @@ type SignFunc func(r *http.Request) error // (RoundTripper implementer) to check request // context for a signing function and using for // all subsequent trips through RoundTrip(). -type signingtransport struct { - http.Transport // underlying transport -} +type signingtransport struct{ http.Transport } func (t *signingtransport) RoundTrip(r *http.Request) (*http.Response, error) { // Ensure updated host always set.