https://github.com/adam0brien/currency-converter
https://github.com/adam0brien/currency-converter
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/adam0brien/currency-converter
- Owner: Adam0Brien
- Created: 2023-08-07T17:46:17.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-01T00:32:56.000Z (over 2 years ago)
- Last Synced: 2025-03-25T11:49:35.434Z (over 1 year ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Currency-Converter
Command-line currency converter app written in Go.
How to Use
Clone the repository:
```
git clone https://github.com/Adam0Brien/currency-converter.git
cd currency-converter
```
Build the executable:
```
go build
```
Run the application:
```
./currency-converter
```
Follow the prompts to enter the 3-letter currency symbols and the amount you want to convert.
Example:
```
Enter the 3 letter currency symbol you wish to exchange: USD
Enter the 3 letter currency symbol you wish to receive: EUR
Enter the amount: 100
```
# Dependencies
This app relies on the API Ninjas Currency Conversion API for currency conversion data.
The currency symbols should be valid 3-letter codes. Check the currencies.csv file for a list of supported currencies.