//Create a CcaClient with a custom URL func NewCcaClientWithURL(apiURL string, apiKey string) *CcaClient { apiClient := api.NewApiClient(apiURL, apiKey) ccaClient := CcaClient{ apiURL: apiURL, apiKey: apiKey, apiClient: apiClient, Tasks: services.NewTaskService(apiClient), } return &ccaClient }
//Create a CcaClient with a custom URL func NewCcaClientWithURL(apiURL string, apiKey string) *CcaClient { apiClient := api.NewApiClient(apiURL, apiKey) return NewCcaClientWithApiClient(apiClient) }