Merge pull request #50 from vuongggggg/feature/support-currency-vnd

Added VND currency
pull/53/head
Miguel Mota 4 years ago committed by GitHub
commit cf13ad6755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -819,7 +819,7 @@ Frequently asked questions:
- Q: Which currencies can I convert to?
- A: The supported fiat currencies for conversion are `AUD`, `BRL`, `CAD`, `CFH`, `CLP`, `CNY`, `CZK`, `DKK`, `EUR`, `GBP`, `HKD`, `HUF`, `IDR`, `ILS`, `INR`, `JPY`, `KRW`, `MXN`, `MYR`, `NOK`, `NZD`, `PLN`, `PHP`, `PKR`, `RUB`, `SEK`, `SGD`, `THB`, `TRY`, `TWD`, `USD`, and `ZAR`.
- A: The supported fiat currencies for conversion are `AUD`, `BRL`, `CAD`, `CFH`, `CLP`, `CNY`, `CZK`, `DKK`, `EUR`, `GBP`, `HKD`, `HUF`, `IDR`, `ILS`, `INR`, `JPY`, `KRW`, `MXN`, `MYR`, `NOK`, `NZD`, `PLN`, `PHP`, `PKR`, `RUB`, `SEK`, `SGD`, `THB`, `TRY`, `TWD`, `USD`, `ZAR` and `VND`.
The supported crypto currencies for conversion are `BTC` and `ETH`.

@ -302,5 +302,6 @@ func (s *Service) SupportedCurrencies() []string {
"ZAR",
"XDR",
"XAG",
"VND",
}
}

@ -227,5 +227,6 @@ func (s *Service) SupportedCurrencies() []string {
"TWD",
"USD",
"ZAR",
"VND",
}
}

@ -42,6 +42,7 @@ var fiatCurrencyNames = map[string]string{
"TWD": "New Taiwan Dollar",
"USD": "US Dollar",
"ZAR": "South African Rand",
"VND": "Vietnamese đồng",
}
var cryptocurrencyNames = map[string]string{
@ -84,6 +85,7 @@ var currencySymbolMap = map[string]string{
"TWD": "NT$",
"USD": "$",
"ZAR": "R",
"VND": "₫",
}
var alphanumericcharacters = []rune{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'}

Loading…
Cancel
Save