Documentation ¶ Index ¶ type DB func OpenDB(filePath string) (*DB, *data.CodeError) func (db *DB) Delete(key string) *data.CodeError func (db *DB) Get(key string) (string, *data.CodeError) func (db *DB) Put(key, value string) *data.CodeError Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DB ¶ type DB struct { // contains filtered or unexported fields } func OpenDB ¶ func OpenDB(filePath string) (*DB, *data.CodeError) func (*DB) Delete ¶ func (db *DB) Delete(key string) *data.CodeError func (*DB) Get ¶ func (db *DB) Get(key string) (string, *data.CodeError) func (*DB) Put ¶ func (db *DB) Put(key, value string) *data.CodeError Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.