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

Add support for abstracting the filesystem using io/fs #40

Open
ggambetti opened this issue May 12, 2023 · 0 comments
Open

Add support for abstracting the filesystem using io/fs #40

ggambetti opened this issue May 12, 2023 · 0 comments

Comments

@ggambetti
Copy link
Member

Added in Go 1.16 io/fs provides an abstraction to enable swapping out the file system implementation. Adding support to go-slug would enable support for folks with such use cases. As an example it would enable the use of in memory file systems for testing.

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

1 participant