gormx

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MulanPSL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleGormBridge

type SimpleGormBridge interface {
	Create(t schema.Tabler, v interface{}) error
	Update(t schema.Tabler, v interface{}, kv interface{}) error
	Delete(v schema.Tabler, kv interface{}) (int64, error)
	First(t schema.Tabler, v interface{}, kv interface{}) error
}

func NewBridge

func NewBridge(db *gorm.DB, key string) SimpleGormBridge

Jump to

Keyboard shortcuts

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