testutil

package
v8.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package testutil provides internal testing utilities for the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDBWithOptions

func NewDBWithOptions(t testing.TB, ctx context.Context, opener func(dsn string) gorm.Dialector, opts ...gorm.Option) *gorm.DB

NewDBWithOptions creates a new database instance for testing with the provided options.

Types

This section is empty.

Jump to

Keyboard shortcuts

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