[GH-ISSUE #96] Split all continents in regions #212

Open
opened 2026-03-01 17:24:35 +03:00 by kerem · 1 comment
Owner

Originally created by @daknob on GitHub (Aug 8, 2016).
Original GitHub issue: https://github.com/abh/geodns/issues/96

The United States of America is split in three parts, namely us-west, us-central, and us-east. It could be beneficial to add this support in the continent level for all continents. For example, europe-west can have Portugal, Spain, etc.

I can do this by editing the /countries/regiongroups.go which I think will enable this functionality. Is this feature wanted? Should I implement this and send a Pull Request?

Originally created by @daknob on GitHub (Aug 8, 2016). Original GitHub issue: https://github.com/abh/geodns/issues/96 The United States of America is split in three parts, namely `us-west`, `us-central`, and `us-east`. It could be beneficial to add this support in the continent level for all continents. For example, `europe-west` can have Portugal, Spain, etc. I can do this by editing the `/countries/regiongroups.go` which I think will enable this functionality. Is this feature wanted? Should I implement this and send a Pull Request?
Author
Owner

@cricsus commented on GitHub (Dec 22, 2018):

that'd also require to change the if country != "us" to if country != "us" && region != "europe", I think, right? I'm not sure whether that will work, though, as I never dealt with anything written in golang before

<!-- gh-comment-id:449555564 --> @cricsus commented on GitHub (Dec 22, 2018): that'd also require to change the `if country != "us"` to `if country != "us" && region != "europe"`, I think, right? I'm not sure whether that will work, though, as I never dealt with anything written in golang before
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/geodns#212
No description provided.