An application in Go for currency conversion using the Central Bank of Russia exchange rates.
- A separate goroutine downloads XML with currency rates every hour and caches them in memory.
- The HTTP server listens on port 8888 and provides two endpoints:
/— usage examples/convert— currency converter
- Wrapper for
go run:make run
- Building and running a Docker container:
make d
-
100 RUB → USD:
-
100 EUR → RUB:
-
1100 USD → AMD:
make test