dao

package
v0.0.0-...-a18df83 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DB

func DB() *xorm.Engine

Types

type Paginate

type Paginate struct {
	Page      int   `json:"page"`       // 页码
	Size      int   `json:"size"`       // 页面大小
	Total     int64 `json:"total"`      // 总行数
	CountPage int   `json:"count_page"` // 总页数
}

func (*Paginate) Handle

func (p *Paginate) Handle(model *xorm.Session, table, row interface{}) error

Jump to

Keyboard shortcuts

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