This commit is contained in:
Steven Polley 2019-06-23 07:02:46 +00:00
parent 2da8c59ce4
commit 51de57cecf

View File

@ -8,7 +8,7 @@ import (
) )
func main() { func main() {
client := easydns.NewClient("https://sandbox.rest.easydns.net", "APITOKEN", "APIKEY") client := easydns.NewClient("https://sandbox.rest.easydns.net", "APITOKEN", "APIKEY") //change url to remove sandbox once you contact easydns support
recordList, err := client.GetRecordList("myeasydnssite.ca") recordList, err := client.GetRecordList("myeasydnssite.ca")
if err != nil { if err != nil {
log.Fatalf("failed to get records for myeasydnssite.ca: %v", err) log.Fatalf("failed to get records for myeasydnssite.ca: %v", err)