Skip to content

Commit

Permalink
ExampleError: More consistent struct
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed May 22, 2023
1 parent 9b04e9e commit c343f00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reqxml/err_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import (
func ExampleError() {
type ErrorXML struct {
XMLName xml.Name `xml:"Error"`
Code string
Message string
RequestID string `xml:"RequestId"`
HostID string `xml:"HostId"`
Code string `xml:"Code"`
Message string `xml:"Message"`
RequestID string `xml:"RequestId"`
HostID string `xml:"HostId"`
}

var errObj ErrorXML
Expand Down

0 comments on commit c343f00

Please sign in to comment.