godotenv
godotenv copied to clipboard
added LoadFS from embed files
This adds the functionality of loading env files using embed.FS Issue #138
@Enrico724 This is generally working for me, but it seems to be missing a method: OverloadFS
.
@mickeyreiss @joho I've just implemented OverloadFS
.
@Enrico724 Awesome, thank you. I will pull this commit and post again if we encounter any issues.
This is working well for a large production application. Is there a path forward for merging this PR?
This is working well for a large production application. Is there a path forward for merging this PR?
@mickeyreiss yes, there is
@Enrico724 you should use io/fs.FS
instead of embed.FS
. io/fs.FS
can take other FS (e.g. afero) implementations too, whereas embed.FS
can't.
Hi, umm, any update on this?
Hi, umm, any update on this? Still waiting the merge.
@batara666 @mickeyreiss