Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 560 Bytes

readme.md

File metadata and controls

11 lines (7 loc) · 560 Bytes

go_exchange

Command line access to currency exchange rates from the openexchange.org API. Consider this a v0.01 - just playing with Go to see how it deals with JSON.

Two options for running -

  • go run go_exchange - produces full list of currencies and exchange rates
  • go run go_exchange EUR,GBP - produces a exchange rates by currency code

If you have any feedback please share it. I would love to learn more about go error handling, making sure that the user input is clean, and if there is a better way to deal with the JSON file.