8000 Migrate away from using io/ioutil. · Issue #2 · jameycribbs/hare · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Migrate away from using io/ioutil. #2
Open
@jameycribbs

Description

@jameycribbs

io/ioutil is deprecated in Go 1.16. Any code that uses code from this package needs to be changed to handle this. I think that Hare only uses ReadDir, but that will need to be confirmed.

Note from Go 1.16 changelog:

ReadDir => os.ReadDir (note: returns a slice of os.DirEntry rather than a slice of fs.FileInfo)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0