package
Version:
v0.0.0-...-322d0ab
Opens a new window with list of versions in this module.
Published: May 9, 2017
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package storage manages offline storage
type Storage struct {
Db *bolt.DB
}
Storage holds the database storage capability
New returns a new storage object
AddFood stores a new food for the names user
Close shuts down the database
GetFoods returns the foods a named user likes
Source Files
¶
Click to show internal directories.
Click to hide internal directories.