countrycodes

package module
v0.0.0-...-9362d3c Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2018 License: MIT Imports: 1 Imported by: 0

README

countrycodes

Go country codes returns the full country name from a ISO "ALPHA-2 Code

CircleCI GoDoc

Instalation

go get github.com/ulventech/countrycodes

How to use

// no: Norway
fmt.Printf("Country: %s\n", countrycodes.Name("no"))

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Countries = map[string]string{}/* 249 elements not displayed */

Countries string map of country codes and names

Functions

func Name

func Name(code string) string

Name returns countries full name code need to be a ISO "ALPHA-2 Code

Types

This section is empty.

Jump to

Keyboard shortcuts

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