service

package
v0.0.0-...-26336ce Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultWhere

func GetDefaultWhere(where map[string]interface{}) map[string]interface{}

Types

type Page

type Page struct {
	Num  int `form:"page_num" json:"page_num"`   //頁數*筆數,從0(代表第一頁)開始
	Size int `form:"page_size" json:"page_size"` //從PageNum之後取出的筆數
}

func NewPage

func NewPage(num int, size int) *Page

func (*Page) GetSqlLimit

func (p *Page) GetSqlLimit() int

func (*Page) GetSqlOffset

func (p *Page) GetSqlOffset() int

Directories

Path Synopsis
api
notification

Jump to

Keyboard shortcuts

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