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"}:
go-vinyldns
'sZone
method currently expects anid
. However, given that VinylDNS now supports the following, it may be worth creatingZoneGetByName
andZoneGetByID
methods, or changingZone
to do something like accept aZoneGetConfig{Name || ID: "foo"}
: