-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Currently I have an use-case when I need convert a lot of currencies to another currencies in a row. In my code I need to do something like this:
client := // client creating
for _, currency := range currencies {
request := client.newRequest(...params)
rsp, _ := client.do(request)
}Here is the problem: I need to do a lot of actions to just convert the currency :(
- create client
- set up request
- perform request
What if this library will have some kind of advanced API to do something like:
client := // client creating
for _, currency := range currencies {
rsp, _ := client.ConvertCurrency(currency, "USD")
}WDYT about it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels