Registry / utility / biter777-countries

biter777-countries

JSON →
library1.7.5gogounverified

Package countries provides ISO 3166 country codes, ISO 4217 currencies, calling codes, capitals, and more with fast, dependency-free lookups.

go get github.com/biter777/countries
INSTALL
IMPORT
SIG · BITER777-COUNTRIES
B
biter777-countries
utilitygov1.7.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

countries
github.com/biter777/countries

Look up country information by code.

package main import ( "fmt" "github.com/biter777/countries" ) func main() { country := countries.USA fmt.Println(country.String()) fmt.Println(country.Alpha2()) fmt.Println(country.Currency()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.7.5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
biter777-countries — go get biter777-countries · libregistry