Documentation
¶
Overview ¶
Package testdb expose internal utilities for testing against a postgres database.
Index ¶
- func CloseDB(db *sqlx.DB) error
- func CreateDBAndData(dbName string) (*sqlx.DB, error)
- func CreateDBWithWrongData(dbName string) (*sqlx.DB, error)
- func EmptyDBCursor(db *sqlx.DB) (*sqlx.Rows, error)
- func OpenDB(dbName string) (*sqlx.DB, error)
- func OpenDBCursor(db *sqlx.DB) (*sqlx.Rows, error)
- func UniqueDBName() string
- type DummyRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UniqueDBName ¶
func UniqueDBName() string
Types ¶
Click to show internal directories.
Click to hide internal directories.