Help us shape the future of Go! Take the 2026 Go Developer Survey

testdb

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteUser

func DeleteUser(t *testing.T, conn *sql.DB, name string)

func PgxConnect

func PgxConnect(t *testing.T, dsn string) *pgx.Conn

func PgxDeleteUser

func PgxDeleteUser(t *testing.T, conn *pgx.Conn, name string)

func PgxUserExists

func PgxUserExists(t *testing.T, conn *pgx.Conn, name string) bool

func SqlConnect

func SqlConnect(t *testing.T, dsn string) *sql.DB

func UserExists

func UserExists(t *testing.T, conn *sql.DB, name string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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