To install currency_api, follow these steps:
- Ensure you have Go installed on your system (version 1.20.0 or higher).
- Clone this repository to your local machine.
- Navigate to the cloned directory.
- Run go build to build the executable.
- Optionally, run go install to install the executable globally.
To use currency_api, follow these steps:
- Run the executable in your terminal or command prompt.
- Provide the environment variables for run the application
- Review the output or results generated by the application.
Example command:
go run main.go
Adding an env file o the necessary environment variables to your currenct shell
CURRENCY_URL=
API_KEY=
TIMEOUT=
DSN=