Help us shape the future of Go! Take the 2026 Go Developer Survey

marshal

package
v0.101.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 0 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarshalFunc

type MarshalFunc func(interface{}) ([]byte, error)

func (MarshalFunc) Marshal

func (u MarshalFunc) Marshal(input interface{}) ([]byte, error)

type Marshaler

type Marshaler interface {
	Marshal(input interface{}) ([]byte, error)
}

type UnmarshalFunc

type UnmarshalFunc func([]byte, interface{}) error

func (UnmarshalFunc) Unmarshal

func (u UnmarshalFunc) Unmarshal(input []byte, output interface{}) error

type Unmarshaler

type Unmarshaler interface {
	Unmarshal(input []byte, output interface{}) error
}

Jump to

Keyboard shortcuts

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