transaction

package
v0.0.0-...-75939a1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Begin

func Begin(ctx context.Context, db *gorm.DB) *gorm.DB

func Commit

func Commit(ctx context.Context)

func Rollback

func Rollback(ctx context.Context)

func Server

func Server() middleware.Middleware

全局事务

func Start

func Start(ctx context.Context) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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