HuobiRDCenter / huobi_Golang

Go SDK for Huobi Spot API
https://www.htx.com/zh-cn/opend/newApiPages/
Apache License 2.0
176 stars 88 forks source link

config.go miss SecretKey #11

Closed JackyCZJ closed 4 years ago

huobiapi commented 4 years ago

@JackyCZJ , this is the design intent and described in REAMDE:

Create key.go into your config folder (package). The purpose of this file is to prevent submitting SecretKey into repository by accident, so this file is already added in the .gitignore file.

Therefore if you download the SDK and want to run the example, you should create the key.go manually. If you just import the SDK, then you can manage the secretKey by yourself and stored on proper place