Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TracePlugin ¶
type TracePlugin struct{}
TracePlugin defines gorm plugin used to trace sql.
func (*TracePlugin) Initialize ¶
func (op *TracePlugin) Initialize(db *gorm.DB) (err error)
Initialize initialize the trace plugin.
func (*TracePlugin) Name ¶
func (op *TracePlugin) Name() string
Name returns the name of trace plugin.
Click to show internal directories.
Click to hide internal directories.