binance-cobra-cli

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:

  1. 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
  1. Install dependences
go mod download
  1. Run server
go run . server
  1. In another window of terminal run client command
# Example
go run . rate --pair=ETH-USDT