Versions in this module Expand all Collapse all v0 v0.0.1 Jan 29, 2021 Changes in this version + type Database struct + func New(name string) *Database + func Open(filename string, create bool) (*Database, error) + func (db *Database) Delete(key string) + func (db *Database) Export(filename string) (err error) + func (db *Database) Get(key string) ([]byte, *ErrorType) + func (db *Database) Insert(key string, value []byte, overwrite bool) *ErrorType + func (db *Database) Name() string + func (db *Database) SetName(name string) *ErrorType + func (db *Database) ToRawMap() map[string][]byte + type ErrorType uint8 + const DatabaseKeyExists + const DatabaseKeyNotPresent + const DatabaseNameOutOfBounds + const DatabaseStateInvalid + func (err *ErrorType) Error() string + func (i ErrorType) String() string