test_utils

package
v0.0.0-...-8f634b9 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DatabaseConnection

func DatabaseConnection(config *Config) (*pgx.Conn, error)

Types

type Config

type Config struct {
	Scheme   string
	Host     string
	User     string
	Password string
	DBName   string
	SSLMode  string
	TimeZone string
}

func DefaultConfig

func DefaultConfig() *Config

func (*Config) DSN

func (config *Config) DSN() string

Jump to

Keyboard shortcuts

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