yaml

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package yaml provides ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCodec

func NewCodec() codec.Codec

NewCodec new encoder & decoder

Types

type Codec

type Codec struct{}

Codec yaml codec

func (Codec) Marshal

func (_ Codec) Marshal(v interface{}) ([]byte, error)

Marshal returns the wire format of v.

func (Codec) Unmarshal

func (_ Codec) Unmarshal(data []byte, v interface{}) error

Unmarshal parses the wire format into v.

Jump to

Keyboard shortcuts

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