dump

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(filename string, data any) error

Dump serializes the provided data and writes it to the given filename. It uses GoPickle format for storing structured data persistently. Returns an error if serialization or file write fails.

func Load

func Load(filename string, data any) error

Load deserializes data from the provided filename into the passed pointer. Expects the data to have been previously stored with Dump using the same structure. Returns an error if file read or unmarshalling fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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