Versions in this module Expand all Collapse all v0 v0.5.1 Oct 8, 2022 Changes in this version type Image + Active bool type Message + Active bool v0.5.0 Aug 10, 2022 v0.4.0 Jun 29, 2020 Changes in this version + func GetDatabase() (*pg.DB, error) + type BoxomonDatastore struct + func NewDatastoreFromConfig() (*BoxomonDatastore, error) + func (bdx *BoxomonDatastore) GetEncouragement(ctx context.Context) (*Encouragement, error) + type DummyBoxomonDatastore struct + func NewDummyDatastore() *DummyBoxomonDatastore + func (dbds *DummyBoxomonDatastore) GetEncouragement(context.Context) (*Encouragement, error) + type Encouragement struct + CreationDate time.Time + ID int + Image Image + ImageID int + Message Message + MessageID int + type Image struct + ID int + URL string + type Message struct + ID int + Text string