The following formats are supported by this package:
- ISO3166-1-Alpha-2
- ISO3166-1-Alpha-3
This repository's generated code is built using the data provided by datahub.io.
This package exposes each country code as a constant, as well as a slice of valid codes, so you can build validation methods around it.