diff --git a/reqxml/err_example_test.go b/reqxml/err_example_test.go index 3dd761c..1efc0fc 100644 --- a/reqxml/err_example_test.go +++ b/reqxml/err_example_test.go @@ -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