We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System (please complete the following information):
linux
1.22.4
2.2.3
Describe the bug
When using MapStruct with empty key, i.e. mapping all, no environment variables are parsed
To Reproduce
cfg := Config{} err = ini.MapStruct("", &cfg) fmt.Println(cfg.MongoDb,Uri) x := ini.String("mongodb.uri") fmt.Println(x) mcfg := MongoDb{} ini.MapStruct("mongodb", &mcfg) fmt.Println(mcfg)
output:
${MONGO_URI} mongodb://xxx:[email protected]/mydb mongodb://xxx:[email protected]/mydb
Expected behavior
Environment variables must be parsed
The text was updated successfully, but these errors were encountered:
inhere
No branches or pull requests
System (please complete the following information):
linux
1.22.4
2.2.3
Describe the bug
When using MapStruct with empty key, i.e. mapping all, no environment variables are parsed
To Reproduce
output:
Expected behavior
Environment variables must be parsed
The text was updated successfully, but these errors were encountered: