Hi,
What is the best way to parse values to nested struct below when having keys flatten? For instance, I have these config values in AWS Parameter Store and they tend to be like /path/to/parameter/value
.
Thanks
type Config struct {
Addresses []string
ServiceName string
Logger struct {
Level string
}
HTTP struct {
Server struct {
Host string
Port int
Request struct {
Timeout string
Size int
}
}
}
}