json-reference

command module
v0.0.0-...-62dd230 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 8 Imported by: 0

README

reference-json

Reference data for countries, currencies, languages, timezones, and regions in JSON format. We collect information from multiple sources, as well as provide our own additional metadata, and combine into a simple, canonical set of reference data that we use throughout Flow.

JSON Data

JSON data files can be found in the data/final directory.

  • Continents A list of continents and the countries they contain

  • Countries A list of countries, including metadata on their measurement system, default currency, languages, and timezones

  • Currencies A list of currencies, including metadata for localization

  • Languages A list of languages and the countries in which they are spoken

  • Locales A list of locales and specific number formats

  • Payment Methods A list of all the payment methods supported by Flow

  • Regions A region represents a geographic area of the world. Regions can be countries, continents or other political areas (like the Eurozone)

  • Timezones A list of timezones

go run reference.go all

Local development

We rely on a git submodule to pull in the cldr-json project. Before running the underlying commands, first run:

git submodule init
git submodule update

View commands available:

go run reference.go

Run end to end process:

go run reference.go all

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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