Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: runtime error: index out of range #3

Closed
yyBeta opened this issue Jan 23, 2018 · 2 comments
Closed

panic: runtime error: index out of range #3

yyBeta opened this issue Jan 23, 2018 · 2 comments

Comments

@yyBeta
Copy link

yyBeta commented Jan 23, 2018

panic: runtime error: index out of range

goroutine 5 [running]:
github.com/henson/Answer/api.Sogou(0xc04216c9e0, 0x4)
        E:/Projects/Go/src/github.com/henson/Answer/api/sogou.go:57 +0x71d
github.com/henson/Answer.answerQuestion.func1.1(0xc04203c480)
        E:/Projects/Go/src/github.com/henson/Answer/process.go:83 +0x3f
created by github.com/henson/Answer.answerQuestion.func1
        E:/Projects/Go/src/github.com/henson/Answer/process.go:82 +0x46

最新master分支,冲顶大会报错,看样子是搜狗的原因,但西瓜好像没问题。希望能错误处理一下让搜狗API故障时不影响搜索的决策方式

@henson
Copy link
Owner

henson commented Jan 23, 2018

收到,会在下一版中修改,谢谢提交

@henson henson closed this as completed Jan 23, 2018
@henson henson reopened this Jan 23, 2018
@henson
Copy link
Owner

henson commented Jan 23, 2018

已更改,请测试,谢谢!

@henson henson closed this as completed Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants