Skip to content
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

add DigitalOcean provider #240

Merged
merged 2 commits into from
May 2, 2024
Merged

Conversation

Sleavely
Copy link
Contributor

@Sleavely Sleavely commented May 1, 2024

Adds support for domains managed by DigitalOcean.

I'm not a particularly experienced Go author but I used the CloudFlare provider as a template so I'm hoping I didn't violate any conventions. I've tested that creating, updating and skipping of domains works for subdomains and root domains (using "@" as a subdomain).

@TimothyYe
Copy link
Owner

Thanks, later I'll update the web panel to support this new provider.

@TimothyYe
Copy link
Owner

It seems the lint job shows 2 errors, would u pls help to fix them?

@Sleavely
Copy link
Contributor Author

Sleavely commented May 1, 2024

update the web panel to support this new provider

Oh, I didn't see any references to specific providers in the web/ directory so I assumed it would work out of the box. Anything I can do to help?

Linting errors are ✔️

@TimothyYe
Copy link
Owner

For the web panel, I think the only thing that should be updated is at: https://github.com/TimothyYe/godns/blob/master/internal/utils/constants.go#L98-L101

I see you've already added this new provider setting, it looks good!

@TimothyYe TimothyYe merged commit 04207ba into TimothyYe:master May 2, 2024
1 check passed
@TimothyYe
Copy link
Owner

Merged, thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants