testing

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupDB

func SetupDB(t testing.TB) db.Database

SetupDB instantiates and returns database backed by key value store.

func TeardownDB

func TeardownDB(t testing.TB, db db.Database)

TeardownDB closes a database and destroys the files at the database path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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