Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func (*Builder) AddSection ¶
func (b *Builder) AddSection(name string, lines ...string) *SectionBuilder
func (*Builder) MarshalText ¶
type SectionBuilder ¶
type SectionBuilder struct {
// contains filtered or unexported fields
}
func (*SectionBuilder) Add ¶
func (s *SectionBuilder) Add(key, value string) *SectionBuilder
func (*SectionBuilder) AddComment ¶
func (s *SectionBuilder) AddComment(comment string) *SectionBuilder
func (*SectionBuilder) AddLines ¶
func (s *SectionBuilder) AddLines(lines ...string) *SectionBuilder
func (*SectionBuilder) Len ¶
func (s *SectionBuilder) Len() int
func (*SectionBuilder) Reset ¶
func (s *SectionBuilder) Reset(name string) *SectionBuilder
type Unit ¶
func (*Unit) AddSection ¶
func (u *Unit) AddSection(name string, lines ...string) *SectionBuilder
Click to show internal directories.
Click to hide internal directories.