Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn interface {
	Prepare(query string) (driver.Stmt, error)
	Close() error
	Begin() (driver.Tx, error)
}

    go:generate counterfeiter . Conn

    type Driver

    type Driver interface {
    	Open(name string) (driver.Conn, error)
    }

      go:generate counterfeiter . Driver

      type Stmt

      type Stmt interface {
      	Close() error
      	NumInput() int
      	Exec(args []driver.Value) (driver.Result, error)
      	Query(args []driver.Value) (driver.Rows, error)
      }

        go:generate counterfeiter . Stmt

        type Tx

        type Tx interface {
        	Commit() error
        	Rollback() error
        }

          go:generate counterfeiter . Tx

          Directories

          Path Synopsis
          Code generated by counterfeiter.
          Code generated by counterfeiter.