iso3166

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package iso3166 maps ISO 3166-1 alpha-2 country codes to their English names. Deprecated codes resolve to the name of their canonical replacement (e.g. "UK" to "United Kingdom").

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountryName

func CountryName(alpha2 string) string

CountryName returns the English name of the country with the given ISO 3166-1 alpha-2 code (case-insensitive), or an empty string when the code is unknown.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL