Documentation
¶
Overview ¶
Package yaml encoder/decoder
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentStyle ¶
type CommentStyle int
const ( NoComment CommentStyle = iota HeadComment LineComment FootComment )
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func NewEncoder ¶
func (*Encoder) GetFormatInstructions ¶
func (*Encoder) WithCommentStyle ¶
func (e *Encoder) WithCommentStyle(style CommentStyle) *Encoder
Click to show internal directories.
Click to hide internal directories.