Documentation
¶
Overview ¶
Package gobdb provides a simple key-value database for Go binary objects encoded with encoding/gob.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gobdb ¶ added in v0.0.3
type Gobdb struct {
Data Data
// contains filtered or unexported fields
}
Gobdb represents a simple key-value database for Go binary objects encoded with encoding/gob.
func Open ¶
Open opens a file at the specified path and decodes its contents using the gob decoder.
If the decoding fails, it returns an error. If the decoding is successful, it returns a gobdb object with the decoded data.
Click to show internal directories.
Click to hide internal directories.