package
0.0.0-20230328081954-96a744856602
Repository: https://github.com/noculture/notes.git
Documentation: pkg.go.dev

# Functions

* * <Constructor for above DB struct> * Returns an instance of DB struct by either creating a new BoltDb * bucket for given `dbFileName` or using an existing one * @param dbFileName string The complete (path) qualified filename of for BoltDb file * @return (*DB, error) Tuple containing pointer to DB struct and optionally an error */.

# Structs

* * - structure that implements the above Datastore interface * - the concrete implementation of methods has been spread across 2 files * 1.
* * DTO for a Note within a Notebook */.
* * DTO for Notebook */.

# Interfaces

* * - interface defining operations of our 'notes' datastore * - notice the function prototypes here have one-to-one mapping with * *almost* every command (plus it's subcommand / options) */.