goccy

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL