Skip to content

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

Merged
davecgh merged 1 commit intodecred:masterfrom
davecgh:docs_deprecated_ioutil
Jan 20, 2023
Merged

docs: Don't use deprecated ioutil package.#3046
davecgh merged 1 commit intodecred:masterfrom
davecgh:docs_deprecated_ioutil

Conversation

@davecgh
Copy link
Copy Markdown
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