-
Notifications
You must be signed in to change notification settings - Fork 76
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
Incompatible types using embed.FS type in LoadModuleFromFilesystem #68
Comments
I think this helps to explain why it does not work. To workaround this issue, you should try the following:
|
Thank you for your response! I've added a task to update our current workaround to use WrapFS instead. I will let you know if I run into any issues. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to use
LoadModuleFromFilesystem
on an FS object obtained from the embed package, but since that function uses a custom FS module I get the following error that the FS i supplied does not implement the custom FS:I wrote up a simple example showing what I'm trying to do. I also tested against an afero.FS and got the same result.
The text was updated successfully, but these errors were encountered: