postgresql_test

package
v4.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2026 License: MIT Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestAdapter

func TestAdapter(t *testing.T)

Types

type AdapterTests

type AdapterTests struct {
	*Helper

	suite.Suite
}

func (*AdapterTests) SetupSuite

func (s *AdapterTests) SetupSuite()

func (*AdapterTests) TestEscapeQuestionMark

func (s *AdapterTests) TestEscapeQuestionMark()

func (*AdapterTests) TestInsertVarcharPrimaryKey

func (s *AdapterTests) TestInsertVarcharPrimaryKey()

func (*AdapterTests) TestNonTrivialSubqueries

func (s *AdapterTests) TestNonTrivialSubqueries()

func (*AdapterTests) TestOptionTypeJsonbStruct

func (s *AdapterTests) TestOptionTypeJsonbStruct()

func (*AdapterTests) TestOptionTypes

func (s *AdapterTests) TestOptionTypes()

func (*AdapterTests) TestPreparedStatements

func (s *AdapterTests) TestPreparedStatements()

func (*AdapterTests) TestSchemaCollection

func (s *AdapterTests) TestSchemaCollection()

func (*AdapterTests) TestStringAndInt64Array

func (s *AdapterTests) TestStringAndInt64Array()

func (*AdapterTests) Test_Issue210

func (s *AdapterTests) Test_Issue210()

func (*AdapterTests) Test_Issue340_MaxOpenConns

func (s *AdapterTests) Test_Issue340_MaxOpenConns()

func (*AdapterTests) Test_Issue370_InsertUUID

func (s *AdapterTests) Test_Issue370_InsertUUID()

func (*AdapterTests) Test_Issue391_BinaryMode

func (s *AdapterTests) Test_Issue391_BinaryMode()

func (*AdapterTests) Test_Issue391_TextMode

func (s *AdapterTests) Test_Issue391_TextMode()

func (*AdapterTests) Test_Issue409_TxOptions

func (s *AdapterTests) Test_Issue409_TxOptions()

func (*AdapterTests) Test_Issue469_BadConnection

func (s *AdapterTests) Test_Issue469_BadConnection()

func (*AdapterTests) Test_Issue601_ErrorCarrying

func (s *AdapterTests) Test_Issue601_ErrorCarrying()

func (*AdapterTests) Test_Issue602_IncorrectBinaryFormat

func (s *AdapterTests) Test_Issue602_IncorrectBinaryFormat()

type Helper

type Helper struct {
	// contains filtered or unexported fields
}

func NewHelper

func NewHelper(connURL postgresql.ConnectionURL) *Helper

func (*Helper) Adapter

func (h *Helper) Adapter() string

func (*Helper) Session

func (h *Helper) Session() db.Session

func (*Helper) SetUp

func (h *Helper) SetUp() error

func (*Helper) TearDown

func (h *Helper) TearDown() error

type Settings

type Settings struct {
	Name string `json:"name"`
	Num  int64  `json:"num"`
}

func (*Settings) Scan

func (s *Settings) Scan(src interface{}) error

func (Settings) Value

func (s Settings) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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