mocks

package
v0.0.0-...-90e1eb3 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks provides mock implementations for postgres testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupPostgresConnection

func SetupPostgresConnection(t *testing.T) (*sql.DB, sqlmock.Sqlmock, *postgres.Connection)

SetupPostgresConnection creates a mock postgres connection for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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