lwh
lwh
1. About debug: I think `fmt.PrintX` in code can be replaced by logger. https://github.com/HydroProtocol/ethereum-watcher/blob/2c339ec401d9765d8e597d32e821fc1f651a834f/watcher.go#L478 2. About log: Allow package users to choose whether to use the logger. For example, provide...
从[issue@领取翻译章节](https://github.com/lwhile/The-Chubby-lock-service-for-loosely-coupled-distributed-systems-zh_cn/issues/2)后: 1. fork本项目 2. 新建分支,分支命名规范为:{章节序号}, 或者{章节序号-第几段}.如 ```git checkout -b 2.4-第1段 ``` 3. 发起PR
Signed-off-by: lwh Although updating the consul code can avoid this problem, I think that it's necessary to specify the default transport when the code have used the ```http.DefaultClient```