Versions in this module Expand all Collapse all v1 v1.3.0 Apr 15, 2020 Changes in this version + const CanonicalBasename + func FindFile(path string) (bool, string, error) + type Author struct + Email string + Name string + type DB interface + Close func() error + GetByEmail func(string) (bool, *Author) + Open func() error + Refresh func() error + type NoopDB struct + func NewNoopDB() *NoopDB + func (db *NoopDB) Close() error + func (db *NoopDB) GetByEmail(email string) (bool, *Author) + func (db *NoopDB) Open() error + func (db *NoopDB) Refresh() error + type ParseAuthor struct + Email string + Name string + type TxtDB struct + func NewTxtDB(path string) (*TxtDB, error) + func (db *TxtDB) CalculateHash() (string, error) + func (db *TxtDB) Close() error + func (db *TxtDB) GetByEmail(email string) (bool, *Author) + func (db *TxtDB) IsGone() bool + func (db *TxtDB) IsStale() bool + func (db *TxtDB) Load() error + func (db *TxtDB) Open() error + func (db *TxtDB) Refresh() error v1.3.0-alpha Nov 25, 2019