db

package
v0.0.0-...-e1c34d2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableLogging

func DisableLogging()

func RunAllMigrations

func RunAllMigrations(dbURI string) ([]error, bool)

RunAllMigrations run the db migration

Types

type MySQLSuite

type MySQLSuite struct {
	suite.Suite
	ContainerID string
	DSN         string
	DBConn      *sql.DB
}

MySQLSuite struct for MySQL Suite

func (*MySQLSuite) SetupSuite

func (s *MySQLSuite) SetupSuite()

SetupSuite setup at the beginning of test

func (*MySQLSuite) TearDownSuite

func (s *MySQLSuite) TearDownSuite()

TearDownSuite teardown at the end of test

type NopLogger

type NopLogger struct {
}

func (NopLogger) Print

func (l NopLogger) Print(v ...interface{})

Jump to

Keyboard shortcuts

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