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

Migrate away from using io/ioutil. #2

Open
jameycribbs opened this issue Feb 16, 2021 · 3 comments
Open

Migrate away from using io/ioutil. #2

jameycribbs opened this issue Feb 16, 2021 · 3 comments
Assignees

Comments

@jameycribbs
Copy link
Owner

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)

@jameycribbs jameycribbs self-assigned this Feb 16, 2021
@softwarespot
Copy link

I would be happy to do this. Are you OK with that?

@gedw99
Copy link

gedw99 commented Jun 15, 2022

Hackpadfs might be a good match for this type of file based database like Hare.

https://github.com/hack-pad/hackpadfs

the only reason I suggest it is because the FS is abstracted to allow the db to work anywhere . You will see what I mean in the repo …

@mkalus
Copy link

mkalus commented Apr 25, 2023

Looks easy enough - care if I create a PR?

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

No branches or pull requests

4 participants