Versions in this module Expand all Collapse all v0 v0.1.0 Aug 23, 2021 Changes in this version + const Version + var ErrMissingCollection = errors.New("missing collection - no place to save record") + var ErrMissingResource = errors.New("missing resource - unable to save record") + type Driver struct + func New(dir string, options *Options) (*Driver, error) + func (d *Driver) Delete(collection, resource string) error + func (d *Driver) Read(collection, resource string, v interface{}) error + func (d *Driver) ReadAll(collection string) ([][]byte, error) + func (d *Driver) Write(collection, resource string, v interface{}) error + type Logger interface + Debug func(string, ...interface{}) + Error func(string, ...interface{}) + Fatal func(string, ...interface{}) + Info func(string, ...interface{}) + Trace func(string, ...interface{}) + Warn func(string, ...interface{}) + type Options struct