Browse Source

dont export NewChildSection

pull/16/head
Brett Langdon 11 years ago
parent
commit
c3d3c616a3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      section.go

+ 2
- 2
section.go View File

@ -18,7 +18,7 @@ func NewSection() *Section {
}
}
func NewChildSection(parent *Section) *Section {
func newChildSection(parent *Section) *Section {
return &Section{
parent: parent,
values: make(map[string]Value),
@ -45,7 +45,7 @@ func (section *Section) UpdateValue(value interface{}) error {
}
func (section *Section) AddSection(name string) *Section {
childSection := NewChildSection(section)
childSection := newChildSection(section)
section.values[name] = childSection
return childSection
}


Loading…
Cancel
Save