We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug 位于Cloudreve/pkg/request/request.go:261的ioutil.Discard变量在Go1.16中已简化为io.Discard,而本项目的编译建议Go >= 1.18,为保持兼容性,是否换成新的变量命名会更加合理
Cloudreve/pkg/request/request.go:261
ioutil.Discard
io.Discard
Go >= 1.18
Additional context
The text was updated successfully, but these errors were encountered:
同理: Cloudreve/middleware/frontend.go:30 ioutil.ReadAll() -> io.ReadAll()
Cloudreve/middleware/frontend.go:30
ioutil.ReadAll() -> io.ReadAll()
Sorry, something went wrong.
No branches or pull requests
Describe the bug
位于
Cloudreve/pkg/request/request.go:261
的ioutil.Discard
变量在Go1.16中已简化为io.Discard
,而本项目的编译建议Go >= 1.18
,为保持兼容性,是否换成新的变量命名会更加合理Additional context
ioutil.Discard
的兼容性处理: var Discard io.Writer = io.DiscardThe text was updated successfully, but these errors were encountered: