store

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Models = []interface{}{
	&models.Auth{},
	&models.Template{},
	&models.Folder{},
	&models.Group{},
	&models.User{},
	&models.Token{},
	&models.Control{},
	&models.Settings{},
}

Models using for migrate database tables.

Functions

func AutoMigrate

func AutoMigrate(ctx context.Context, dbConn *gorm.DB) error

func OpenConnection

func OpenConnection(typeDB string, cfg map[string]interface{}) (*gorm.DB, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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