Skip to content

A simple and efficient currency converter written in Go (Golang) using real-time exchange rates from the ExchangeRate-API.

License

Notifications You must be signed in to change notification settings

marwan-ahmed-23/currency-converter-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Currency Converter (Go)

A simple and efficient currency converter written in Go (Golang) using real-time exchange rates from the ExchangeRate-API.

🚀 Features

  • Fetches real-time exchange rates for multiple currencies.
  • Lightweight and fast CLI tool.
  • Easy to use and extend.

📂 Directory Structure

currency-converter-go/
├── src/
│   └── main.go
├── examples/
│   └── example.go
├── LICENSE
├── .gitignore
└── README.md

Prerequisites

🔧 Installation

  1. Clone the repository:

    git clone https://github.com/marwan-ahmed-23/currency-converter-go.git
    cd currency-converter-go
  2. Run the project: Replace your_api_key_here with a valid API key.

    go run src/main.go <API_KEY> <FROM_CURRENCY> <TO_CURRENCY>
  3. Example:

    go run src/main.go your_api_key_here USD EUR

    Output:

    1 USD = 0.85 EUR

🤝 Contributing

Contributions are welcome! Feel free to fork the repository and submit a pull request.

🌟 Show Your Support

If you found this project helpful, please consider giving it a ⭐ on GitHub. Your support means the world to us!

About

A simple and efficient currency converter written in Go (Golang) using real-time exchange rates from the ExchangeRate-API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages