transactions

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithTransactionx

func WithTransactionx(db *sqlx.DB, fn TxFn) (err error)

WithTransactionx - Creates new transaction instance and executes the handler

Types

type TxFn

type TxFn func(db.SQLConnector) error

TxFn - Func type to executes during transaction

Jump to

Keyboard shortcuts

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