C2FO / vfs

Pluggable, extensible virtual file system for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VFS is using ioutil functions that were deprecated in Go 1.16.

funkyshu opened this issue · comments

Describe the bug
VFS is using deprecated ioutil functions: ReadFile, ReadAll, TempFile, and TempDir.

To Reproduce
Steps to reproduce the behavior:

  1. grep -r ioutil

Expected behavior
Switch to use os.ReadFile, io.ReadAll, os.CreateTemp, and os.MkTempDir, respectively.