forked from mirrors/gotosocial
f2e5bedea6
* migrate go version to 1.17 * update contributing
311 lines
1.6 KiB
Go
311 lines
1.6 KiB
Go
package currency
|
|
|
|
// Type is the currency type associated with the locales currency enum
|
|
type Type int
|
|
|
|
// locale currencies
|
|
const (
|
|
ADP Type = iota
|
|
AED
|
|
AFA
|
|
AFN
|
|
ALK
|
|
ALL
|
|
AMD
|
|
ANG
|
|
AOA
|
|
AOK
|
|
AON
|
|
AOR
|
|
ARA
|
|
ARL
|
|
ARM
|
|
ARP
|
|
ARS
|
|
ATS
|
|
AUD
|
|
AWG
|
|
AZM
|
|
AZN
|
|
BAD
|
|
BAM
|
|
BAN
|
|
BBD
|
|
BDT
|
|
BEC
|
|
BEF
|
|
BEL
|
|
BGL
|
|
BGM
|
|
BGN
|
|
BGO
|
|
BHD
|
|
BIF
|
|
BMD
|
|
BND
|
|
BOB
|
|
BOL
|
|
BOP
|
|
BOV
|
|
BRB
|
|
BRC
|
|
BRE
|
|
BRL
|
|
BRN
|
|
BRR
|
|
BRZ
|
|
BSD
|
|
BTN
|
|
BUK
|
|
BWP
|
|
BYB
|
|
BYN
|
|
BYR
|
|
BZD
|
|
CAD
|
|
CDF
|
|
CHE
|
|
CHF
|
|
CHW
|
|
CLE
|
|
CLF
|
|
CLP
|
|
CNH
|
|
CNX
|
|
CNY
|
|
COP
|
|
COU
|
|
CRC
|
|
CSD
|
|
CSK
|
|
CUC
|
|
CUP
|
|
CVE
|
|
CYP
|
|
CZK
|
|
DDM
|
|
DEM
|
|
DJF
|
|
DKK
|
|
DOP
|
|
DZD
|
|
ECS
|
|
ECV
|
|
EEK
|
|
EGP
|
|
ERN
|
|
ESA
|
|
ESB
|
|
ESP
|
|
ETB
|
|
EUR
|
|
FIM
|
|
FJD
|
|
FKP
|
|
FRF
|
|
GBP
|
|
GEK
|
|
GEL
|
|
GHC
|
|
GHS
|
|
GIP
|
|
GMD
|
|
GNF
|
|
GNS
|
|
GQE
|
|
GRD
|
|
GTQ
|
|
GWE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