example site

This commit is contained in:
Steven Polley 2019-06-23 07:01:47 +00:00
parent 400163d63c
commit 2da8c59ce4

View File

@ -9,9 +9,9 @@ import (
func main() {
client := easydns.NewClient("https://sandbox.rest.easydns.net", "APITOKEN", "APIKEY")
recordList, err := client.GetRecordList("nextdigital.ca")
recordList, err := client.GetRecordList("myeasydnssite.ca")
if err != nil {
log.Fatalf("failed to get records for nextdigital.ca: %v", err)
log.Fatalf("failed to get records for myeasydnssite.ca: %v", err)
}
for _, record := range recordList.Data {