-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Description
For example:
type confModule struct {
Name string `yaml:"name" default:"abc"`
Params []string `yaml:"params" default:"[\"-c\", \"conf.yml\"]"`
}
type confStruct struct {
ID string `yaml:"id"`
Modules []confModule `yaml:"modules"`
}
defaults will skip the slice of struct (confStruct.Modules), how to support this case?
Metadata
Metadata
Assignees
Labels
No labels