package
1.1.1
Repository: https://github.com/rustyx/dsutil.git
Documentation: pkg.go.dev

# Functions

Export exports the given DataStore entity iterator into the given stream.
Import imports DataStore entities from the export file.
ImportFile reads an export file, writing DataStore entities to outCh.
ImportFileReflect imports a given .ds file using the provided type and import function.
ImportStreamReflect imports a given .ds stream using the provided type and import function mapping.
Marshal marshals a stream of DataStore entities into a stream of byte arrays.
No description provided by the author
NewReflector returns a new instance of Reflector.
OpenForReading opens a file for reading, seamlessly un-gzipping if needed.
OpenForWriting opens a file for writing, seamlessly gzipping if needed.
Unmarshal processes export file lines, writing DataStore entities to outCh and any error to errCh.
No description provided by the author

# Structs

Entity wraps a DataStore entity including its key and all properties as key-value pairs.
ModelMapping wraps a single data model type.
Reflector implements a caching reflection helper.

# Type aliases

ImportFuncType is the type of the import callback.