Documentation ¶ Index ¶ Variables type Codec func (Codec) Marshal(v any) ([]byte, error) func (Codec) NewDecoder(r io.Reader) *yaml.Decoder func (Codec) NewEncoder(w io.Writer) *yaml.Encoder func (Codec) Unmarshal(data []byte, v any) error type Decoder type Encoder Constants ¶ This section is empty. Variables ¶ View Source var DefaultCodec = Codec{} Functions ¶ This section is empty. Types ¶ type Codec ¶ type Codec struct{} Codec implements https://github.com/goccy/go-yaml func (Codec) Marshal ¶ func (Codec) Marshal(v any) ([]byte, error) func (Codec) NewDecoder ¶ func (Codec) NewDecoder(r io.Reader) *yaml.Decoder func (Codec) NewEncoder ¶ func (Codec) NewEncoder(w io.Writer) *yaml.Encoder func (Codec) Unmarshal ¶ func (Codec) Unmarshal(data []byte, v any) error type Decoder ¶ type Decoder = yaml.Decoder type Encoder ¶ type Encoder = yaml.Encoder Source Files ¶ View all Source files codec.go Click to show internal directories. Click to hide internal directories.