We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82e275d commit 12a6d5dCopy full SHA for 12a6d5d
1 file changed
public/service/config.go
@@ -95,6 +95,15 @@ func NewStringListField(name string) *ConfigField {
95
}
96
97
98
+// NewStringListMapField describes a new map type config field consisting of
99
+// lists of strings with one or more child fields.
100
+func NewStringListMapField(name string) *ConfigField {
101
+ stringListField := NewStringListField(name)
102
+ return &ConfigField{
103
+ field: stringListField.field.Map(),
104
+ }
105
+}
106
+
107
// NewStringListOfListsField describes a new config field consisting of a list
108
// of lists of strings (a 2D array of strings).
109
func NewStringListOfListsField(name string) *ConfigField {
0 commit comments