Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidAlpha = errors.New("iso3166: country alpha codes must be 2 or 3 uppercase characters") ErrInvalidAlpha2 = errors.New("iso3166: country alpha-2 codes must be 2 uppercase characters") ErrInvalidAlpha3 = errors.New("iso3166: country alpha-2 codes must be 3 uppercase characters") )
Validation Errors
Functions ¶
func NotACountry ¶ added in v1.4.0
func ValidateAlpha2 ¶ added in v1.4.0
func ValidateAlpha3 ¶ added in v1.4.0
Types ¶
Click to show internal directories.
Click to hide internal directories.