From 52a8602ba4dd75abcedb6bcef2af1c2c4023ea02 Mon Sep 17 00:00:00 2001 From: Matt Oestreich Date: Tue, 17 Aug 2021 23:50:53 -0500 Subject: [PATCH] Update readme.md --- readme.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 2a6bef2..209acef 100644 --- a/readme.md +++ b/readme.md @@ -63,11 +63,12 @@ func main() { // Get domain details dom.GetDetails(ctx) // Domain records - domRecs := myDomain.Records() + domRecs := dom.Records() domRecs.List(ctx) domRecs.Add(ctx, someDNSRecord) domRecs.FindByType(ctx, godaddygo.RecordTypeA) - // View all domains for your account + + // View all domains for your account godaddy.ListDomains(ctx) // Check availability for domain godaddy.CheckAvailability(ctx, "baz.bar") @@ -114,11 +115,12 @@ func main() { // Get domain details dom.GetDetails(ctx) // Domain records - domRecs := myDomain.Records() + domRecs := dom.Records() domRecs.List(ctx) domRecs.Add(ctx, someDNSRecord) domRecs.FindByType(ctx, godaddygo.RecordTypeA) - // View all domains for your account + + // View all domains for your account godaddy.ListDomains(ctx) // Check availability for domain godaddy.CheckAvailability(ctx, "baz.bar")