We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c569a4 commit 88b1ccdCopy full SHA for 88b1ccd
pkg/config/config.go
@@ -89,15 +89,10 @@ type sectionParent interface {
89
AddChild(key string, defValue ...interface{})
90
}
91
92
-type SectionArrayCommon interface {
93
- KeySet
94
- SubSection(name string) Section
95
-}
96
-
97
// Section represents a section of the global configuration, at a nested point in the config hierarchy.
98
// Note that all keys are added to a GLOBAL map, so this cannot be used for per-instance customization.
99
type Section interface {
100
- SectionArrayCommon
+ KeySet
101
SetDefault(key string, defValue interface{})
102
SubSection(name string) Section
103
SubArray(name string) ArraySection
0 commit comments