Documentation ¶
Index ¶
- func ForceEncoder(e interface{}, formatCode int16) interface{}
- func MustClose(t testing.TB, conn interface{ ... })
- func MustConnectDatabaseSQL(t testing.TB, driverName string) *sql.DB
- func MustConnectPgx(t testing.TB) *pgx.Conn
- func TestDatabaseSQLSuccessfulNormalizeEqFunc(t testing.TB, driverName string, tests []NormalizeTest, ...)
- func TestDatabaseSQLSuccessfulTranscodeEqFunc(t testing.TB, driverName, pgTypeName string, values []interface{}, ...)
- func TestPgxSimpleProtocolSuccessfulTranscodeEqFunc(t testing.TB, pgTypeName string, values []interface{}, ...)
- func TestPgxSuccessfulNormalizeEqFunc(t testing.TB, tests []NormalizeTest, eqFunc func(a, b interface{}) bool)
- func TestPgxSuccessfulTranscodeEqFunc(t testing.TB, pgTypeName string, values []interface{}, ...)
- func TestSuccessfulNormalize(t testing.TB, tests []NormalizeTest)
- func TestSuccessfulNormalizeEqFunc(t testing.TB, tests []NormalizeTest, eqFunc func(a, b interface{}) bool)
- func TestSuccessfulTranscode(t testing.TB, pgTypeName string, values []interface{})
- func TestSuccessfulTranscodeEqFunc(t testing.TB, pgTypeName string, values []interface{}, ...)
- type NormalizeTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForceEncoder ¶
func ForceEncoder(e interface{}, formatCode int16) interface{}
func TestDatabaseSQLSuccessfulNormalizeEqFunc ¶
func TestDatabaseSQLSuccessfulNormalizeEqFunc(t testing.TB, driverName string, tests []NormalizeTest, eqFunc func(a, b interface{}) bool)
func TestPgxSuccessfulNormalizeEqFunc ¶
func TestPgxSuccessfulNormalizeEqFunc(t testing.TB, tests []NormalizeTest, eqFunc func(a, b interface{}) bool)
func TestSuccessfulNormalize ¶
func TestSuccessfulNormalize(t testing.TB, tests []NormalizeTest)
func TestSuccessfulNormalizeEqFunc ¶
func TestSuccessfulNormalizeEqFunc(t testing.TB, tests []NormalizeTest, eqFunc func(a, b interface{}) bool)
func TestSuccessfulTranscode ¶
Types ¶
type NormalizeTest ¶
type NormalizeTest struct { SQL string Value interface{} }
Click to show internal directories.
Click to hide internal directories.