Skip to content

download exchange rates via command line with Go

Notifications You must be signed in to change notification settings

bblanton/go_exchange

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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.

About

download exchange rates via command line with Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published