shortcut

package
v0.0.0-...-34e475e Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	SessionFactory
}

Client :

func Create

func Create(t *testing.T, c toyquery.Client) (Client, func())

Create :

type ID

type ID = string

ID :

type Session

type Session interface {
	Table(name string) Table
	MustExec(t *testing.T, code string) // ?
	Raw() toyquery.Session
}

Session :

type SessionFactory

type SessionFactory interface {
	Session() Session
}

SessionFactory :

type Table

type Table interface {
	// TODO: add methods (tentative)
	GetByID(t *testing.T, id ID, val interface{})
	InsertByID(t *testing.T, id ID, val interface{})
	Count(t *testing.T) int
}

Table :

Jump to

Keyboard shortcuts

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