pkg

package
v0.0.0-...-8fc82a0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObjectsAreEqual

func ObjectsAreEqual(expected, actual interface{}) bool

ObjectsAreEqual determines if two objects are considered equal.

This function does no assertion of any kind.

Types

type Client

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

func NewClient

func NewClient(endpoint string) *Client

func (*Client) Put

func (cli *Client) Put(params map[string]any) ([]byte, error)

type Result

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

type Statement

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

func (*Statement) String

func (stmt *Statement) String() string

String returns statement desc, if desc is mepty returns sql.

type TestResult

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

func (*TestResult) ResultMsg

func (r *TestResult) ResultMsg(parent string) string

func (*TestResult) RunMsg

func (r *TestResult) RunMsg(parent string) string

type Tester

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

func NewTester

func NewTester(testcase string, cli *Client) *Tester

func (*Tester) Run

func (t *Tester) Run() (success, fail int32)

func (*Tester) String

func (t *Tester) String() string

Jump to

Keyboard shortcuts

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