Versions in this module Expand all Collapse all v1 v1.0.1 Dec 9, 2022 v1.0.0 Nov 23, 2022 Changes in this version + func AnyTime() sqlmock.Argument + func CreateGormDB(logger hclog.Logger, c *config.Config) (*gorm.DB, error) + func Migrate(databaseURL string) error + func MockQueueJob(mock sqlmock.Sqlmock, params interface{}, job string, priority int) + func NewGormDB(databaseURL string) (*gorm.DB, error) + func NewMockedGormDB() (*gorm.DB, sqlmock.Sqlmock) + func NewTestPostgresDB(migrate bool) (*dockertest.Resource, string, error) + func Ping(ctx context.Context, db *gorm.DB) error + type NoOpCrypter struct + func (c NoOpCrypter) Decrypt(w io.Writer, r io.Reader) error + func (c NoOpCrypter) Encrypt(w io.Writer, r io.Reader) error