package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Oct 2, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Storage stores data in an unencrypted file.
New is the constructor for Storage. "p" is the path to the file in which to store data.
Delete deletes the file, if it exists.
Read returns the file's content or, if the file doesn't exist, a nil slice and error.
Write stores data in the file, overwriting any content, and creates the file if necessary.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.