Skip to content

Commit

Permalink
fix(logger): standardize body field formatting in request and respons…
Browse files Browse the repository at this point in the history
…e data types
  • Loading branch information
Filip Kočí committed Nov 5, 2024
1 parent 1ec5a87 commit f8309a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type requestData struct {
URI string `json:"uri"` //nolint:tagliatelle
Host string `json:"host"` //nolint:tagliatelle
Headers map[string]string `json:"headers"` //nolint:tagliatelle
Body interface{} `json:"body"` //nolint:tagliatelle
Body interface{} `json:"body"` //nolint:tagliatelle
Verb string `json:"verb"` //nolint:tagliatelle
IPAddress string `json:"ip_address"` //nolint:tagliatelle
Time string `json:"time"` //nolint:tagliatelle
Expand All @@ -74,7 +74,7 @@ type responseData struct {
Time string `json:"time"` //nolint:tagliatelle
Status int `json:"status"` //nolint:tagliatelle
Headers map[string]string `json:"headers"` //nolint:tagliatelle
Body interface{} `json:"body"` //nolint:tagliatelle
Body interface{} `json:"body"` //nolint:tagliatelle
TransferEncoding string `json:"transfer_encoding"` //nolint:tagliatelle
}

Expand Down

0 comments on commit f8309a8

Please sign in to comment.