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

futuresEndPoint为空的情况需加以提示 #136

Closed
beaquant opened this issue Jan 6, 2020 · 2 comments
Closed

futuresEndPoint为空的情况需加以提示 #136

beaquant opened this issue Jan 6, 2020 · 2 comments

Comments

@beaquant
Copy link
Contributor

beaquant commented Jan 6, 2020

这些地方可否先判断是否设置了futuresEndPoint,如果是空,给提示panic

https://github.com/nntaoli-project/GoEx/blob/bd3235e139b85955640fe34290bfcb62a56281bc/builder/APIBuilder.go#L263

@nntaoli
Copy link
Member

nntaoli commented Jan 6, 2020

不需要提示,可以不设置endpoint的

@nntaoli nntaoli closed this as completed Jan 6, 2020
@beaquant
Copy link
Contributor Author

beaquant commented Jan 6, 2020

不设置也没默认值呀

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