From c343f00f5ebb610d8f4644ebdc75b6440602c558 Mon Sep 17 00:00:00 2001 From: Carl Johnson Date: Mon, 22 May 2023 09:47:17 -0400 Subject: [PATCH] ExampleError: More consistent struct --- reqxml/err_example_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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