postgres_test

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPostgresConfig

func GetPostgresConfig() neat.DBConfig

GetPostgresConfig returns a PostgreSQL connection config from environment variables

func SetupPostgresConnection

func SetupPostgresConnection(t *testing.T) *database.Database

SetupPostgresConnection creates a database connection without setting up tables

func SetupPostgresTest

func SetupPostgresTest(t *testing.T) *database.Database

SetupPostgresTest creates a database connection and registers cleanup.

Types

This section is empty.

Jump to

Keyboard shortcuts

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