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

项目中使用io/ioutil包问题 #1202

Closed
miajio opened this issue Sep 23, 2024 · 3 comments · May be fixed by #1203
Closed

项目中使用io/ioutil包问题 #1202

miajio opened this issue Sep 23, 2024 · 3 comments · May be fixed by #1203
Labels
invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) stale

Comments

@miajio
Copy link

miajio commented Sep 23, 2024

基于项目中使用到的io/ioutil是否考虑直接更换为使用os
从golang官方文档定义的使用, io/ioutil在1.6版本后虽然保留,但是内部方法是直接调用了os的对应方法。
考虑到后续golang的版本更新情况, 不太建议持续使用io/ioutil包

@github-actions github-actions bot added the invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) label Sep 23, 2024
Copy link

This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 1 days if no further activity occurs.

@github-actions github-actions bot added the stale label Sep 23, 2024
@GuangmingLuo
Copy link
Member

@miajio Kitex 项目中已经替换过了,你有兴趣的话可以给 Hertz 项目提个 PR 修改下

@github-actions github-actions bot removed the stale label Sep 23, 2024
Copy link

This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 1 days if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) stale
2 participants