db

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package db provides helpers to connect to test databases. It has no internal dependencies on aurora and so should be able to be imported by any aurora package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aurora

func Aurora(t *testing.T) *sqlx.DB

Aurora returns a connection to the aurora test database

func AuroraURL

func AuroraURL() string

AuroraURL returns the database connection the url any test use when connecting to the history/aurora database

func DiamcircleCore

func DiamcircleCore(t *testing.T) *sqlx.DB

DiamcircleCore returns a connection to the diamcircle core test database

func DiamcircleCoreURL

func DiamcircleCoreURL() string

DiamcircleCoreURL returns the database connection the url any test use when connecting to the diamcircle-core database

Types

This section is empty.

Jump to

Keyboard shortcuts

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