-
Notifications
You must be signed in to change notification settings - Fork 162
First pass for adding v5 provider support #802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First pass for adding v5 provider support #802
Conversation
| placeholderReplacer := strings.NewReplacer("{account_id}", accountID, "{zone_id}", zoneID) | ||
| endpoint = placeholderReplacer.Replace(endpoint) | ||
|
|
||
| client := cloudflare.NewClient() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to rename it here? we can also just alias cloudflare-go to something else instead of reassigning here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've opted to remove the reassignment so that the new Go client is api and old one is apiv0, I can change that if you'd like though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple of minor nitpicks but generally, 👍
|
lgtm too! |
This is best reviewed commit-by-commit.
Changes include: