Skip to content

moov-io/iso3166

Repository files navigation

Moov Banner Logo

Community · Blog

GoDoc Build Status Go Report Card Repo Size Apache 2 License Slack Channel GitHub Stars Twitter

moov-io/iso3166

The iso3166 package implements ISO 3166-1-alpha2 code and name lookup.

Usage

Validate Country Codes

if iso3166.Valid("US") {
    // do something
}

Lookup Country Code from Name

countryCode := iso3166.LookupCode("United States") // "US"

Getting help

channel info
Twitter @moov You can follow Moov.io's Twitter feed to get updates on our project(s). You can also tweet us questions or just share blogs or stories.
GitHub Issue If you are able to reproduce a problem please open a GitHub Issue under the specific project that caused the error.
moov-io slack Join our slack channel to have an interactive discussion about the development of the project.

Supported and tested platforms

  • 64-bit Linux (Ubuntu, Debian), macOS, and Windows

License

Apache License 2.0 - See LICENSE for details.

About

ISO 3166 country code lookup

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published