database

package
v0.0.0-...-a73014c Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DBTracer = &tracing.JaegerTracer{
	Tracer: nil,
	Closer: nil,
}

Functions

func GetDB

func GetDB(ctx context.Context) *gorm.DB

GetDB ...

func GetDBTracer

func GetDBTracer() *tracing.JaegerTracer

GetDBTracer

func Init

func Init()

Types

type DB

type DB struct {
	gorm.DB
}

DB ...

Jump to

Keyboard shortcuts

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