gnewton / chidley

Convert XML to Go structs / XML to JSON
Apache License 2.0
273 stars 35 forks source link

Refactored handleParameters function in chidley.go #3

Closed Xercoy closed 10 years ago

Xercoy commented 10 years ago

Changed the second if block to if else instead since only one of the two will ever be true at one time. Also removed the return statement return nil from each block since the return statement of the function is already return nil.