dummy

package
v0.14.108 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package dummy encoder/decoder

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder struct{}

func NewEncoder

func NewEncoder() *Encoder

func (*Encoder) GetFormatInstructions

func (e *Encoder) GetFormatInstructions() string

func (*Encoder) Marshal

func (e *Encoder) Marshal(v any) ([]byte, error)

func (*Encoder) Unmarshal

func (e *Encoder) Unmarshal(bs []byte, ret any) error

func (*Encoder) Validate

func (e *Encoder) Validate(req any) error

type Stringer

type Stringer interface {
	String() string
}

type Unmarshaler

type Unmarshaler interface {
	Unmarshal(bs []byte) error
}

Jump to

Keyboard shortcuts

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