Documentation
¶
Index ¶
- func GetValueFromCnOrLogFatalWithTimeout[T any](cn <-chan T, timeout time.Duration, errorMsg string) T
- func RunInTransaction(t *testing.T, db *pgxpool.Pool, testFunc func(*testing.T, pgx.Tx))
- func SpinUpPostgresContainer(pathToMigration string) (testcontainers.Container, func(ctx context.Context), error)
- func SpinUpPostgresContainerAndGetPgxpool(pathToMigration string) (*pgxpool.Pool, testcontainers.Container, func(ctx context.Context))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunInTransaction ¶
func SpinUpPostgresContainer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.