-
-
Notifications
You must be signed in to change notification settings - Fork 207
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
Support embedded directories #70
Comments
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the feature
There is a new feature in Golang 1.16 which allows embedding multiple files in the executable.
More info: https://blog.jetbrains.com/go/2021/06/09/how-to-use-go-embed-in-go-1-16
Will be great if configor has a LoadFromMemory method that allows passing embed.FS to it instead of a file path.
Motivation
The embedding of config files is useful when the executable cannot use absolute paths to refer to its config files and relative paths depend on the working directory which causes issues.
The text was updated successfully, but these errors were encountered: