initializer

package
v0.0.0-...-734a412 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GormInit

type GormInit struct {
	Id   uint32 `json:"id"`
	Init bool   `json:"init"`
}

type Initializer

type Initializer interface {
	Exec() error
	SetForce(force bool) Initializer
	SetPath(path string) Initializer
}

func Instance

func Instance() Initializer

func New

func New(db *gorm.DB, path string, force bool) Initializer

Jump to

Keyboard shortcuts

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