persistence

package
v0.0.0-...-f0c377f Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbService

type DbService struct {
	Instance *gorm.DB
}

func NewDbService

func NewDbService() *DbService

func (*DbService) Close

func (svc *DbService) Close(ctx context.Context) error

func (*DbService) Connect

func (svc *DbService) Connect(config *config.Config) error

Jump to

Keyboard shortcuts

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