testutil

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package testutil helps with tests against Spanner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDatabase

func CreateDatabase(ctx context.Context, t testing.TB, ddlStatements []string) *spanner.Client

CreateDatabse returns a connection to a 1 time use database with the given DDL schema.

Types

This section is empty.

Jump to

Keyboard shortcuts

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