service

package
v0.0.0-...-95b0639 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxInfoIdsLen = 9999999999
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseRepo

type BaseRepo interface {
	LoadAllWhere(where map[string]map[string]interface{}, m *gorm.DB) *gorm.DB
	LoadWhereAnd(where map[string]interface{}, m *gorm.DB) *gorm.DB
	LoadWhereOr(where map[string]interface{}, m *gorm.DB) *gorm.DB
	GetDB() *gorm.DB
	GetPdb() *gorm.DB
	GetRdb() *redis.Client
	BatchInsert(tableName string, fields []string, data []map[string]interface{})
}

Jump to

Keyboard shortcuts

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