belong-inc / go-hubspot

HubSpot API Go client
Apache License 2.0
35 stars 26 forks source link

Add a document of how to add new domain in the client #7

Open ttyfky opened 2 years ago

ttyfky commented 2 years ago

What to do

Add a document of how to add new domain in the client

Background

When adding a new domain in client like below, gohubspot_test.go needs to be updated in unique way otherwise the tests will fail.

type Client struct {
       ...

    CRM       *CRM
    Marketing *Marketing // <- this
}

Acceptance criteria

Make how to add a domain clear.