connections

package
v0.0.0-...-c0e9d1d Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoMigrate

func AutoMigrate(db *gorm.DB)

func CreateAutoMigrateCommand

func CreateAutoMigrateCommand(db *gorm.DB) *cli.Command

func MustNewDB

func MustNewDB(postgresUrl string) *gorm.DB

func MustNewRedis

func MustNewRedis() *redis.Client

Types

type Migrations

type Migrations struct {
	// contains filtered or unexported fields
}

func NewMigrations

func NewMigrations(db *gorm.DB) *Migrations

func (*Migrations) Run

func (m *Migrations) Run(db *gorm.DB)

Jump to

Keyboard shortcuts

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