Skip to content

Commit

Permalink
more doc fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Banning committed Feb 21, 2017
1 parent 3ec2df4 commit 5496e05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ Unmarshal function for the specified struct definition.

e := new(elem)
result, _, _ := MissingXMLTags([]byte(data), e)
// result: [elem3 elem2.another]
// result: [elem2.another elem3]

result, _, _ = UnknownTags([]byte(data), e)
// result: [elem4 elem2.notes]
// result: [elem2.notes elem4]

NOTE: this package is dependent upon github.com/clbanning/mxj.

Expand Down
4 changes: 2 additions & 2 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ Unmarshal function for the specified struct definition.
e := new(elem)
result, _, _ := MissingXMLTags([]byte(data), e)
// result: [elem3 elem2.another]
// result: [elem2.another elem3]
result, _, _ = UnknownTags([]byte(data), e)
// result: [elem4 elem2.notes]
// result: [elem2.notes elem4]
NOTE: this package is dependent upon github.com/clbanning/mxj.
*/
Expand Down

0 comments on commit 5496e05

Please sign in to comment.