db

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotExist = gorm.ErrRecordNotFound

Functions

This section is empty.

Types

type Db

type Db struct {
	DbAddr string

	Retry *models.RunModel
	// contains filtered or unexported fields
}

func NewDb

func NewDb(dbAddr string) (*Db, error)

func (*Db) Init

func (db *Db) Init() error

type DbClient

type DbClient = gorm.DB

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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