Versions in this module Expand all Collapse all v1 v1.0.1 Dec 8, 2020 v1.0.0 Dec 8, 2020 Changes in this version + type Database interface + Begin func() (Database, error) + Commit func() error + Rollback func() error + type Provider struct + func NewProvider(postgresURL string, logger *zap.Logger) (*Provider, error) + func (provider *Provider) Close() + func (provider *Provider) GetClient() *pg.DB + func (provider *Provider) GetDatabase() Database + func (provider *Provider) NotifyFail(ce chan error)