This is the solution of a test task for the position of Go backend developer
Requirements:
-
git
-
go 1.17.2 or above
How to run:
- Clone this repo
# If use https
git clone https://github.com/dmitry-bakeev/binance-cobra-cli.git
# if use ssh
git clone git@github.com:dmitry-bakebinance-cobra-cli.git
- Install dependences
go mod download
- Run server
go run . server
- In another window of terminal run client command
# Example
go run . rate --pair=ETH-USDT