Documentation ¶
Overview ¶
Package sqltransaction provides a simple way to execute a function inside an SQL transaction. The function to be executed is passed as an argument to the Exec function.
For a similar functionality using the github.com/jmoiron/sqlx package instead of the standard database/sql one, see the github.com/Vonage/gosrvlib/pkg/sqlxtransaction package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.