package
module
Version:
v0.0.0-...-9362d3c
Opens a new window with list of versions in this module.
Published: Feb 6, 2018
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
countrycodes
Go country codes returns the full country name from a ISO "ALPHA-2 Code
Instalation
go get github.com/ulventech/countrycodes
How to use
// no: Norway
fmt.Printf("Country: %s\n", countrycodes.Name("no"))
Documentation
¶
Countries string map of country codes and names
Name returns countries full name
code need to be a ISO "ALPHA-2 Code
Source Files
¶
Click to show internal directories.
Click to hide internal directories.