I didn't know there were dragons here.
When casting errors we've gotta be careful. Apparently both values and
pointers satisfy the error interface. Type checking for one doesn't
catch the other.
cc @whyrusleeping @mappum @jbenet
License: MIT
Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| cli | 正在载入提交数据... | |
| http | 正在载入提交数据... | |
| argument.go | 正在载入提交数据... | |
| command.go | 正在载入提交数据... | |
| command_test.go | 正在载入提交数据... | |
| option.go | 正在载入提交数据... | |
| option_test.go | 正在载入提交数据... | |
| request.go | 正在载入提交数据... | |
| response.go | 正在载入提交数据... | |
| response_test.go | 正在载入提交数据... |