postgrestest

package
v0.12.2-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestStore

func NewTestStore(logger log.Logger) (*postgres.Store, *dockertest.Pool, *dockertest.Resource, error)

func PurgeTestDocker

func PurgeTestDocker(pool *dockertest.Pool, resource *dockertest.Resource) error

func Setup

func Setup(store *postgres.Store) error

func TruncateTable

func TruncateTable(store *postgres.Store, tableName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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