Documentation ¶
Overview ¶
yaml provides a way to encode both the simple form and the detailed form of configuration data for the goschtalt library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEncoding = errors.New("encoding error")
)
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct{}
Encoder is a class for the yaml encoder.
func (Encoder) EncodeExtended ¶
Encode encodes the meta.Object provided into yaml with comments showing the origin of the configuration and returns the bytes.
func (Encoder) Extensions ¶
Extensions returns the supported extensions.
Click to show internal directories.
Click to hide internal directories.