oplog

package
v0.1.23 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAll added in v0.0.6

func GetAll(ctx iris.Context)

GetAll 分页列表 - 获取分页参数 - 请求分页数据

func Party

func Party() func(index iris.Party)

Party 操作日志

Types

type PageResponse added in v0.0.6

type PageResponse struct {
	Item []*Response
}

Paginate 分页

func (*PageResponse) Find added in v0.0.6

func (res *PageResponse) Find(db *gorm.DB, scopes ...func(db *gorm.DB) *gorm.DB) error

func (*PageResponse) Paginate added in v0.0.6

func (res *PageResponse) Paginate(db *gorm.DB, pageScope func(db *gorm.DB) *gorm.DB, scopes ...func(db *gorm.DB) *gorm.DB) (int64, error)

type Response added in v0.0.6

type Response struct {
	operation.Oplog
}

func (*Response) First added in v0.0.6

func (res *Response) First(db *gorm.DB, scopes ...func(db *gorm.DB) *gorm.DB) error

Jump to

Keyboard shortcuts

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