countries

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UGANDA                          = "UGANDA"
	NIGERIA                         = "NIGERIA"
	TANZANIA                        = "TANZANIA"
	KENYA                           = "KENYA"
	RWANDA                          = "RWANDA"
	ZAMBIA                          = "ZAMBIA"
	GABON                           = "GABON"
	NIGER                           = "NIGER"
	CONGO_BRAZZAVILLE               = "CONGO-BRAZZAVILLE"
	DR_CONGO                        = "DR CONGO"
	CHAD                            = "CHAD"
	SEYCHELLES                      = "SEYCHELLES"
	MADAGASCAR                      = "MADAGASCAR"
	MALAWI                          = "MALAWI"
	UGANDA_CODE                     = "UG"
	NIGERIA_CODE                    = "NG"
	TANZANIA_CODE                   = "TZ"
	KENYA_CODE                      = "KE"
	RWANDA_CODE                     = "RW"
	ZAMBIA_CODE                     = "ZM"
	GABON_CODE                      = "GA"
	NIGER_CODE                      = "NE"
	CONGO_BRAZZAVILLE_CODE          = "CG"
	DR_CONGO_CODE                   = "CD"
	CHAD_CODE                       = "CFA"
	SEYCHELLES_CODE                 = "SC"
	MADAGASCAR_CODE                 = "MG"
	MALAWI_CODE                     = "MW"
	UGANDA_CURRENCY_CODE            = "UGX"
	NIGERIA_CURRENCY_CODE           = "NGN"
	TANZANIA_CURRENCY_CODE          = "TZS"
	KENYA_CURRENCY_CODE             = "KES"
	RWANDA_CURRENCY_CODE            = "RWF"
	ZAMBIA_CURRENCY_CODE            = "ZMW"
	GABON_CURRENCY_CODE             = "CFA"
	NIGER_CURRENCY_CODE             = "XOF"
	CONGO_BRAZZAVILLE_CURRENCY_CODE = "XAF"
	DR_CONGO_CURRENCY_CODE          = "CDF"
	CHAD_CURRENCY_CODE              = "XAF"
	SEYCHELLES_CURRENCY_CODE        = "SCR"
	MADAGASCAR_CURRENCY_CODE        = "MGA"
	MALAWI_CURRENCY_CODE            = "MWK"
	UGANDA_CURRENCY                 = "Ugandan shilling"
	NIGERIA_CURRENCY                = "Nigerian naira"
	TANZANIA_CURRENCY               = "Tanzanian shilling"
	KENYA_CURRENCY                  = "Kenyan shilling"
	RWANDA_CURRENCY                 = "Rwandan franc"
	ZAMBIA_CURRENCY                 = "Zambian kwacha"
	GABON_CURRENCY                  = "CFA franc BEAC"
	NIGER_CURRENCY                  = "CFA franc BCEAO"
	CONGO_BRAZZAVILLE_CURRENCY      = "CFA franc BCEA"
	DR_CONGO_CURRENCY               = "Congolese franc"
	CHAD_CURRENCY                   = "CFA franc BEAC"
	SEYCHELLES_CURRENCY             = "Seychelles rupee"
	MADAGASCAR_CURRENCY             = "Malagasy ariary"
	MALAWI_CURRENCY                 = "Malawian Kwacha"
)

Variables

This section is empty.

Functions

func Names

func Names() []string

Types

type Country

type Country struct {
	Name         string
	CodeName     string
	Currency     string
	CurrencyCode string
}

func GetByName

func GetByName(name string) (Country, error)

func List

func List() []Country

Jump to

Keyboard shortcuts

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