Skip to content

Commit c343f00

Browse files
committed
ExampleError: More consistent struct
1 parent 9b04e9e commit c343f00

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reqxml/err_example_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import (
1313
func ExampleError() {
1414
type ErrorXML struct {
1515
XMLName xml.Name `xml:"Error"`
16-
Code string
17-
Message string
18-
RequestID string `xml:"RequestId"`
19-
HostID string `xml:"HostId"`
16+
Code string `xml:"Code"`
17+
Message string `xml:"Message"`
18+
RequestID string `xml:"RequestId"`
19+
HostID string `xml:"HostId"`
2020
}
2121

2222
var errObj ErrorXML

0 commit comments

Comments
 (0)