multiconfig
multiconfig copied to clipboard
fix nested struct conflict & should not flatten nested field
I suffer an error:panic: ConfigTOML flag redefined: log-filename in such a toml file:
[Log]
Filename = 'file1'
[Kafka]
[Kafka.Log]
Filename = 'file2'
The flag constructor doesn't parse -kafka-log-filename.