vinyldns / go-vinyldns

Go client package for VinylDNS
Apache License 2.0
7 stars 25 forks source link

Support "get zone by name" and "get zone by ID" endpoints #27

Closed mdb closed 5 years ago

mdb commented 5 years ago

go-vinyldns's Zone method currently expects an id. However, given that VinylDNS now supports the following, it may be worth creating ZoneGetByName and ZoneGetByID methods, or changing Zone to do something like accept a ZoneGetConfig{Name || ID: "foo"}: