sql

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	*sql.Conn
	// contains filtered or unexported fields
}

func (*Conn) Close

func (c *Conn) Close(unlock bool) error

type DB

type DB struct {
	*sql.DB
	// contains filtered or unexported fields
}

func NewDB

func NewDB(db *sql.DB) *DB

func (*DB) Conn

func (m *DB) Conn(ctx context.Context, sagaUID string, lock bool) (*Conn, error)

Jump to

Keyboard shortcuts

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