Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSchema ¶
CreateSchema creates database schema for test
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
DB represents a DB connection that can be used to run SQL queries.
func NewForTest ¶
NewForTest returns the database connection for testing purpose.
Click to show internal directories.
Click to hide internal directories.