dbtest

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func With

func With(t *testing.T, path, dbname string) (*aspect.DB, aspect.Transaction)

With returns a database connection pool and transaction using the given Goose config and database name.

func WithConfig

func WithConfig(t *testing.T, path string) (*aspect.DB, aspect.Transaction)

WithConfig returns a database connection pool and transaction using the given config.Database path. It will fallback to a Travis CI spec if no file is found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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