package
2.1.0
Repository: https://github.com/unidoc/unioffice.git
Documentation: pkg.go.dev

# Packages

Package diskstore implements tempStorage interface by using disk as a storage.
Package memstore implements tempStorage interface by using memory as a storage.

# Functions

Add reads a file from a disk and adds it to the storage.
Open returns tempstorage File object by name.
RemoveAll removes all files according to the dir argument prefix.
SetAsStorage changes temporary storage to newStorage.
TempDir creates a name for a new temp directory using a pattern argument.
TempFile creates new empty file in the storage and returns it.

# Interfaces

File is a representation of a storage file with Read, Write, Close and Name methods identical to os.File.