Skip to content

Golang currency exchange rate command line script 💵

Notifications You must be signed in to change notification settings

jpatel888/currency

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Golang command line script that fetches currency exchange rate data from the http://fixer.io/ JSON API

  • Go has to be properly installed on your machine for this to work (https://golang.org/doc/install)

  • Run the currency.go file from the /src folder of your $GOPATH like this:

    go run currency.go USD

  • USD would be US Dollar as the base for the exchange rate, it can also be one of the following: AUD, CAD, CHF, EUR, NZD, RUB, JPY

The script command line output looks like this:

Alt text

About

Golang currency exchange rate command line script 💵

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%