gorm

package
v0.0.0-...-2af310e Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*Helper) DBConn

func (h *Helper) DBConn(conn *sql.DB) *Helper

func (*Helper) GetDBConn

func (h *Helper) GetDBConn(ctx context.Context) (*gorm.DB, error)

func (*Helper) Migrations

func (h *Helper) Migrations(migrations ...interface{}) *Helper

Jump to

Keyboard shortcuts

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