gorm

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureDatabase

func ConfigureDatabase(dbDriver, dbDSN string) (*gorm.DB, error)

ConfigureDatabase creates gorm.DB instance with slog based logger and OTEL tracing. Supports "sqlite" and "postgres" drivers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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