orm

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger added in v0.2.8

func NewLogger() logger.Interface

func NewMSSQL added in v0.2.6

func NewMSSQL(dsn string, config *gorm.Config) *gorm.DB

func NewMysql added in v0.2.6

func NewMysql(dsn string, config *gorm.Config) *gorm.DB

Types

type HookContext

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

type ObsPlugin

type ObsPlugin struct{}

func (*ObsPlugin) Initialize

func (op *ObsPlugin) Initialize(db *gorm.DB) (err error)

func (*ObsPlugin) Name

func (op *ObsPlugin) Name() string

type Writer added in v0.2.8

type Writer struct{}

func (*Writer) Printf added in v0.2.8

func (w *Writer) Printf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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