package
Version:
v0.0.0-...-1903895
Opens a new window with list of versions in this module.
Published: Oct 9, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func AddGormCallbacks(db *gorm.DB)
AddGormCallbacks adds callbacks to NewRelic, you should call SetTxnToGorm to make them work
func SetTxnToGorm(txn newrelic.Transaction, db *gorm.DB) *gorm.DB
SetTxnToGorm sets transaction to gorm settings, returns cloned DB
Source Files
¶
Click to show internal directories.
Click to hide internal directories.