Versions in this module Expand all Collapse all v1 v1.0.0 Feb 2, 2020 Changes in this version + const TIMEOUT + type Content struct + Amount float32 + Datasheet string + Date ttime + Desc string + Hash string + Label string + Payee string + type Database struct + Err error + func New(address, database, collection string) *Database + func (db *Database) Content(filter ...string) ([]Content, error) + func (db *Database) Delete() (int64, error) + func (db *Database) Document(key, value string) (Content, error) + func (db *Database) Hash(content interface{}) string + func (db *Database) Labels(label string) ([]interface{}, error) + func (db *Database) Print(content interface{}) + func (db *Database) Save(document Content) error + func (db *Database) Update(old, new Content) error Incompatible versions in this module v2.0.0+incompatible Apr 1, 2020