model

package
v0.0.0-...-2bf1368 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

type Page struct {
	Title       string
	PageNo      int64
	TotalPageNo int64
	TotalRecord int64
	TextItems   []*TextItem
}

Page 页面结构体

func (*Page) NextPage

func (p *Page) NextPage() int64

NextPage 页面后一页

func (*Page) PrevPage

func (p *Page) PrevPage() int64

PrevPage 页面前一页

type TextItem

type TextItem struct {
	Username   string `json:"username",form:"username"`
	CreateTime string `json:"createTime",form:"createTime`
	Content    string `json:"content"`
	FileID     string `json:"fileID"`
	FileName   string `json:"fileName"`
}

TextItem 留言结构体

Jump to

Keyboard shortcuts

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