utils

package
v0.0.0-...-89d308f Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSerialization   = errors.New("failed to serialize object to bytes")
	ErrDeserialization = errors.New("failed to deserialize bytes to object")
)

Functions

func Marshal

func Marshal(in any) ([]byte, error)

func Unmarshal

func Unmarshal[T any](data []byte, out *T) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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