gorm

package
v0.0.0-...-40e28fb Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyGDb

func CopyGDb(gdb *gorm.DB, sos ...ds.ServerOption) ds.IBuilder

func NewGDb

func NewGDb() ds.IConnect

func WithLogger

func WithLogger(logger logger.ILogger, level string) gormlogger.Interface

Types

type OpentracingPlugin

type OpentracingPlugin struct{}

func (*OpentracingPlugin) Initialize

func (op *OpentracingPlugin) Initialize(db *gorm.DB) (err error)

func (*OpentracingPlugin) Name

func (op *OpentracingPlugin) Name() string

Jump to

Keyboard shortcuts

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