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

Transition from ioutil.ReadFile to os.ReadFile #65

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

laraosan
Copy link

@laraosan laraosan commented Sep 16, 2023

Issue Number

#64

Hello,Mattn.

In response to the issue regarding the deprecation of ioutil.ReadFile in Go 1.16 and the recommendation to use os.ReadFile, this PR addresses that concern.

Changes:

Replaced all instances of ioutil.ReadFile with os.ReadFile throughout the codebase.
Adjusted any related code segments to ensure compatibility with the os package's function signature and behavior.

Additional Notes:

The project's Go version has also been updated to 1.16 to align with this change and take advantage of the improvements provided in this version.
I've tested the changes extensively, and the transition appears seamless. Still, a thorough review would be highly appreciated to ensure nothing is overlooked.

Thank you for your attention to this matter, and I look forward to your feedback.

Best regards.

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

Successfully merging this pull request may close these issues.

1 participant