db

package
v0.0.0-...-bcd2c7c Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotExist       error = errors.New("记录不存在")
	ErrDuplicateValue error = errors.New("记录值重复")
)
View Source
var Store *gorm.DB

Functions

func SetUp

func SetUp()

Types

type Filter

type Filter struct {
	Params map[string]interface{}
}

func NewFilter

func NewFilter() *Filter

func (*Filter) Set

func (f *Filter) Set(k string, v interface{}) *Filter

Directories

Path Synopsis
query

Jump to

Keyboard shortcuts

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