forked from umran/money
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcurrencies.go
63 lines (53 loc) · 983 Bytes
/
currencies.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package money
var (
// MVR represents the Maldivian Rufiyaa
MVR = &Currency{
code: "MVR",
exponent: 2,
}
// USD represents the United States Dollar
USD = &Currency{
code: "USD",
exponent: 2,
}
// CAD represents the Canadian Dollar
CAD = &Currency{
code: "CAD",
exponent: 2,
}
// AUD represents the Australian Dollar
AUD = &Currency{
code: "AUD",
exponent: 2,
}
// EUR represents the European Euro
EUR = &Currency{
code: "EUR",
exponent: 2,
}
// CHF represents the Swiss Franc
CHF = &Currency{
code: "CHF",
exponent: 2,
}
// GBP represents the British Pound Sterling
GBP = &Currency{
code: "GBP",
exponent: 2,
}
// JPY represents the Japansese Yen
JPY = &Currency{
code: "JPY",
exponent: 0,
}
// SGD represents the Singapore Dollar
SGD = &Currency{
code: "SGD",
exponent: 2,
}
// MYR represents the Malaysian Ringgit
MYR = &Currency{
code: "MYR",
exponent: 2,
}
)