gorm

package
v0.0.0-...-50a54d8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ParentSpanGormKey = "opentracingParentSpan"
	SpanGormKey       = "opentracingSpan"
	SpanGormTracer    = "opentracingTracer"
)

Variables

This section is empty.

Functions

func NewCallbacks

func NewCallbacks(db *gorm.DB) *callbacks

func Regist

func Regist(db *gorm.DB)

func SetContext

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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