billputer / go-namecheap

A Go library for using the Namecheap API
MIT License
49 stars 28 forks source link

fixing host field casing #4

Closed captncraig closed 7 years ago

captncraig commented 7 years ago

The documentation for namecheap.domains.dns.getHosts clearly has elements labeled Host, but when I make actual calls they are the lower case host.

This corrects the xml tag to match the service instead of the docs.

...silly namecheap

billputer commented 7 years ago

Looks good to me, thanks! The Namecheap API is often inconsistent. :(