Skip to content

Replace deprecated io/ioutil calls - #16

Closed
valerybugakov wants to merge 1 commit into
masterfrom
batch-changes/migrate-off-ioutil
Closed

valerybugakov wants to merge 1 commit into
masterfrom
batch-changes/migrate-off-ioutil

Conversation

@valerybugakov

Copy link
Copy Markdown

io/ioutil has been deprecated since Go 1.16. This replaces each call with its os or io equivalent.
ioutil.ReadDir is left as is: os.ReadDir returns fs.DirEntry instead of fs.FileInfo.

@valerybugakov
valerybugakov deleted the batch-changes/migrate-off-ioutil branch October 9, 2026 11:12
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