forum

package
v0.0.0-...-8b29e06 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const PAGE_SIZE int = 20

Variables

This section is empty.

Functions

func AddForum

func AddForum(forumIcon string, forumName string, forumRank int) (forum *model.Forum, err error)

新增分类

func GetThreadListByForumID

func GetThreadListByForumID(forumID int, page int) (threads []model.Thread, err error)

根据fid和page查询模块下的帖子列表 按照更新日期倒序排序

func GetThreadTotleByForumID

func GetThreadTotleByForumID(forumID int) (num int)

根据fid和page查询模块下的帖子列表 按照更新日期倒序排序

Types

This section is empty.

Jump to

Keyboard shortcuts

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