testdata

package
v0.0.0-...-c05fae0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package testdata provides utility functions for filling a database with test data. These functions usually take a *testing.T and a pgxutil.DB value. Each function inserts some amount of data into the db for further tests. If the insert fails, the test is aborted with an error message. If the insert is successful, a function may return some data that allows you to test against the inserted data.

Index

Constants

This section is empty.

Variables

View Source
var InvalidUUID = "Hello-World"

InvalidUUID is a string that is not a valid UUID.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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