Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewoestreich authored Aug 18, 2021
1 parent 05abdab commit 52a8602
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 52a8602

Please sign in to comment.