executor

package
v0.0.0-...-f3ed82d Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	Execute(ctx context.Context, args ...interface{}) error
	Close() error
}

Executor is interface that should be implemented by the query runner

func New

func New(db *sql.DB, q query.Query) (Executor, error)

New creates a new executor

Jump to

Keyboard shortcuts

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