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

docs: Don't use deprecated ioutil package. #3046

Merged
merged 1 commit into from
Jan 20, 2023

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Jan 20, 2023

This updates the example code in the JSON-RPC API documentation to replace usage of ioutil.ReadFile with os.ReadFile since io/ioutil is deprecated as of Go 1.16.

This updates the example code in the JSON-RPC API documentation to
replace usage of ioutil.ReadFile with os.ReadFile since "io/ioutil" is
deprecated as of Go 1.16.
@davecgh davecgh added the documentation Issues and/or pull requests related to documentation. label Jan 20, 2023
@davecgh davecgh added this to the 1.8.0 milestone Jan 20, 2023
@davecgh davecgh merged commit 2fe34aa into decred:master Jan 20, 2023
@davecgh davecgh deleted the docs_deprecated_ioutil branch January 20, 2023 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues and/or pull requests related to documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants