tests

package
v0.0.0-...-9d3d7fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockPostgresConnection

func MockPostgresConnection() (db.PostgresDB, sqlmock.Sqlmock)

Test db initialization

func NewFakeEmailProvider

func NewFakeEmailProvider(senderEmail, emailPassword, emailServer string, emailServerPort int) fakeEmailProvider

func TestRedisConnection

func TestRedisConnection() *redis.Client

Types

type AnyInt

type AnyInt struct{}

func (AnyInt) Match

func (a AnyInt) Match(v driver.Value) bool

type AnyString

type AnyString struct{}

func (AnyString) Match

func (a AnyString) Match(v driver.Value) bool

type AnyTime

type AnyTime struct{}

func (AnyTime) Match

func (a AnyTime) Match(v driver.Value) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL