buildertestutil

package
v1.6.5-rc18 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeExpr

func BeExpr(q string, args ...interface{}) types.GomegaMatcher

func MustCols

func MustCols(cols *builder.Columns, err error) *builder.Columns

Types

type Point

type Point struct {
	X float64
	Y float64
}

func (Point) DataType

func (Point) DataType(engine string) string

func (Point) Value

func (p Point) Value() (driver.Value, error)

func (Point) ValueEx

func (Point) ValueEx() string

type SqlExprMatcher

type SqlExprMatcher struct {
	QueryMatcher types.GomegaMatcher
	ArgsMatcher  types.GomegaMatcher
}

func (*SqlExprMatcher) FailureMessage

func (m *SqlExprMatcher) FailureMessage(actual interface{}) (msg string)

func (*SqlExprMatcher) Match

func (m *SqlExprMatcher) Match(actual interface{}) (success bool, err error)

func (*SqlExprMatcher) NegatedFailureMessage

func (m *SqlExprMatcher) NegatedFailureMessage(actual interface{}) (msg string)

Jump to

Keyboard shortcuts

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