Versions in this module Expand all Collapse all v0 v0.2.0 Dec 23, 2022 Changes in this version + type Database []model.Sync + func (d *Database) Find() (Database, error) + func (d *Database) FindByIdAndDelete(Id string) + func (d *Database) FindByIdAndUpdate(Id string, sync model.Sync) + func (d *Database) InsertOne(sync model.Sync) error + func (d *Database) Load() error + func (d *Database) Store(database Database) + type Histories []model.History + func (h *Histories) Find() Histories + func (h *Histories) FindByIdAndUpdate(Id string, history model.History) + func (h *Histories) Load() error + func (h *Histories) Save(history model.History) + func (h *Histories) Store(histories Histories) + type User model.User + func (u *User) GetToken() string + func (u *User) Load() error + func (u *User) Save(user User) error + func (u *User) SaveToken(token string)