Awesome
<p align="center"> <img src="https://github.com/basebandit/gocash/blob/master/change.png" alt="Icon PNG" height="64"> <h3 align="center">gocash</h3> <p align="center">Convert Currency Rates directly from your Terminal!<p> </p> <p align="center"><img src="https://github.com/basebandit/gocash/blob/master/cash.gif" alt="Icon PNG"></p>Install
go get -u github.com/basebandit/gocash/cmd/cash
Copy the following files to the .gocash
directory inside your home directory
- currencies.json file
- config.json file
Usage
You will need a Fixer.io API key. Get it here for free.
Usage
$ cash <amount> <from> <to>
$ cash <options>
Examples
$ cash 10 usd eur pln aud kes tzs ugx
Available Currencies
See currencies.json file.
ToDo:
- Memoization
- Tests
Thanks:
- xxczaki for an awesome tool, that inspired me to write a similar one in golang.
- Money.js for inspiring me to write my own golang version of the same library.
- Fixer.io for providing awesome currency conversion API.
- <div>Icons made by <a href="https://www.flaticon.com/authors/smashicons" title="Smashicons">Smashicons</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></div>